Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 59.16 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09569, allocations: 49.44 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006769/0.1025, allocations: 5.762 MB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1049, allocations: 1.161 MB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.1054, allocations: 23.94 kB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.1058, allocations: 162.4 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.1063, allocations: 277.4 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.1068, allocations: 227.7 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009782/0.1078, allocations: 1.056 MB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006846/0.1085, allocations: 0.5142 MB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/0.1089, allocations: 414.6 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005037/0.1094, allocations: 477.9 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.1095, allocations: 96 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1097, allocations: 100 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.1099, allocations: 215.2 kB / 361.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.1103, allocations: 0.5132 MB / 361.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009181/0.1113, allocations: 1.086 MB / 362.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1113, allocations: 0 / 362.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1113, allocations: 4 kB / 362.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.1113, allocations: 0 / 362.8 MB, free: 8.297 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001945/0.1133, allocations: 1.244 MB / 364 MB, free: 7.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1133, allocations: 8.031 kB / 364 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1135, allocations: 103.7 kB / 364.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.114, allocations: 451.2 kB / 364.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.1141, allocations: 66.38 kB / 364.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.1142, allocations: 100.3 kB / 364.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.1156, allocations: 0.8716 MB / 365.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1156, allocations: 0 / 365.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.1157, allocations: 40 kB / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.1157, allocations: 24 kB / 365.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.1166, allocations: 0.5661 MB / 366.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.1208, allocations: 2.968 MB / 369.2 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.1212, allocations: 290.9 kB / 369.5 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.1216, allocations: 268.8 kB / 369.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1216, allocations: 8 kB / 369.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1217, allocations: 46.56 kB / 369.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/0.1217, allocations: 0 / 369.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001489/0.1232, allocations: 0.6509 MB / 370.4 MB, free: 344 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1232, allocations: 59.41 kB / 370.5 MB, free: 272 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1831/0.3064, allocations: 0.511 MB / 371 MB, free: 25.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.3065, allocations: 32.42 kB / 371 MB, free: 25.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.3069, allocations: 490.4 kB / 371.5 MB, free: 25.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.3071, allocations: 161.7 kB / 371.7 MB, free: 24.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.3073, allocations: 136 kB / 371.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3075, allocations: 364.9 kB / 372.2 MB, free: 24.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.3079, allocations: 171.5 kB / 372.3 MB, free: 24.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.3084, allocations: 456.4 kB / 372.8 MB, free: 24.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.3092, allocations: 0.6436 MB / 373.4 MB, free: 23.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.3092, allocations: 3.312 kB / 373.4 MB, free: 23.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001432/0.3107, allocations: 0.7559 MB / 374.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.3107, allocations: 10.97 kB / 374.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/0.3108, allocations: 9.688 kB / 374.2 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.3112, allocations: 91.31 kB / 374.3 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/0.312, allocations: 192.1 kB / 374.5 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.3137, allocations: 2.01 MB / 376.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.3144, allocations: 85.83 kB / 376.6 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.3144, allocations: 37.59 kB / 376.6 MB, free: 21.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.3147, allocations: 212 kB / 376.8 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3149, allocations: 62.06 kB / 376.9 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.87e-05/0.315, allocations: 66.16 kB / 376.9 MB, free: 21.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.315, allocations: 5.281 kB / 377 MB, free: 21.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.315, allocations: 5.344 kB / 377 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.315, allocations: 2.25 kB / 377 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/0.3159, allocations: 0.6466 MB / 377.6 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3159, allocations: 0 / 377.6 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.3163, allocations: 101 kB / 377.7 MB, free: 21.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.3166, allocations: 72.31 kB / 377.8 MB, free: 20.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.3166, allocations: 7.453 kB / 377.8 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.3182, allocations: 1.982 MB / 379.8 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3182, allocations: 0 / 379.8 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3192, allocations: 0.6679 MB / 380.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.3194, allocations: 136 kB / 380.6 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-05/0.3195, allocations: 12.12 kB / 380.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.3199, allocations: 42.91 kB / 380.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.32, allocations: 28.97 kB / 380.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.3201, allocations: 13.86 kB / 380.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004517/0.3205, allocations: 349.2 kB / 381 MB, free: 18.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3205, allocations: 0 / 381 MB, free: 18.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009569/0.3215, allocations: 248.7 kB / 381.2 MB, free: 18.47 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.3217, allocations: 117.6 kB / 381.4 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.3229, allocations: 0.6109 MB / 382 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3229, allocations: 1.031 kB / 382 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.3234, allocations: 323 kB / 382.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.324, allocations: 116.7 kB / 382.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.3265, allocations: 1.443 MB / 383.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.327, allocations: 0.9308 MB / 384.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.3272, allocations: 44.47 kB / 384.8 MB, free: 16.25 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3272, allocations: 1.156 kB / 384.8 MB, free: 16.25 MB / 302.1 MB Notification: Performance of Templates: time 0.01777/0.345, allocations: 10.98 MB / 395.8 MB, free: 11.96 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches