Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.00101/0.00101, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 51.92 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.09011, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00392/0.09408, allocations: 2.777 MB / 331.5 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.09518, allocations: 0.6436 MB / 332.1 MB, free: 336 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.09531, allocations: 4 kB / 332.2 MB, free: 332 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.09551, allocations: 55.5 kB / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.09569, allocations: 91.17 kB / 332.3 MB, free: 184 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.09591, allocations: 71.91 kB / 332.4 MB, free: 112 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.09626, allocations: 350.9 kB / 332.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.09652, allocations: 147.3 kB / 332.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.09665, allocations: 131.5 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.09685, allocations: 147.4 kB / 333.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.0969, allocations: 32 kB / 333.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.425e-05/0.09695, allocations: 32 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.09701, allocations: 67.77 kB / 333.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.09715, allocations: 163.2 kB / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.09746, allocations: 354.8 kB / 333.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09747, allocations: 0 / 333.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09748, allocations: 0 / 333.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.0975, allocations: 0 / 333.8 MB, free: 14.71 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008174/0.09832, allocations: 0.6042 MB / 334.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.09837, allocations: 8.031 kB / 334.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.09844, allocations: 40.5 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.09878, allocations: 251.8 kB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.09882, allocations: 20.94 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.09887, allocations: 28.38 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.09927, allocations: 253.2 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.09929, allocations: 0 / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.09933, allocations: 12 kB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.09934, allocations: 8 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.09966, allocations: 186.2 kB / 335.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1011, allocations: 1.006 MB / 336.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.1015, allocations: 332.8 kB / 336.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.1017, allocations: 140.8 kB / 336.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1017, allocations: 4 kB / 336.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1017, allocations: 38.5 kB / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.1017, allocations: 0 / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001315/0.1031, allocations: 0.7846 MB / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.1031, allocations: 55.41 kB / 337.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1033, allocations: 190.3 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1033, allocations: 33.64 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.1034, allocations: 164.3 kB / 337.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.1035, allocations: 98.64 kB / 338 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.1036, allocations: 42 kB / 338 MB, free: 10.13 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1037, allocations: 338.8 kB / 338.3 MB, free: 9.789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1038, allocations: 72.53 kB / 338.4 MB, free: 9.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.104, allocations: 94.8 kB / 338.5 MB, free: 9.621 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1042, allocations: 185.7 kB / 338.7 MB, free: 9.434 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1042, allocations: 7.938 kB / 338.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004733/0.1047, allocations: 314 kB / 339 MB, free: 9.109 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1047, allocations: 4 kB / 339 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1048, allocations: 0 / 339 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.105, allocations: 92.83 kB / 339.1 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.1052, allocations: 39.98 kB / 339.1 MB, free: 8.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.1071, allocations: 2.088 MB / 341.2 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.1073, allocations: 11.97 kB / 341.2 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1073, allocations: 12.22 kB / 341.3 MB, free: 6.723 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.1074, allocations: 138 kB / 341.4 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.1075, allocations: 23.72 kB / 341.4 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.1075, allocations: 29.86 kB / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1075, allocations: 0 / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1075, allocations: 4 kB / 341.4 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1076, allocations: 3.938 kB / 341.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009552/0.1085, allocations: 0.7449 MB / 342.2 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1085, allocations: 0 / 342.2 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.1087, allocations: 39.92 kB / 342.2 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/0.1089, allocations: 72.8 kB / 342.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1089, allocations: 4 kB / 342.3 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.1106, allocations: 2.006 MB / 344.3 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1106, allocations: 0 / 344.3 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.1112, allocations: 463.8 kB / 344.8 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.1113, allocations: 92.86 kB / 344.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1113, allocations: 8.062 kB / 344.9 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1115, allocations: 11.98 kB / 344.9 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.1116, allocations: 23.97 kB / 344.9 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1116, allocations: 8 kB / 344.9 MB, free: 2.82 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1117, allocations: 144.3 kB / 345 MB, free: 2.68 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1117, allocations: 4 kB / 345.1 MB, free: 2.676 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004157/0.1121, allocations: 72 kB / 345.1 MB, free: 2.605 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0001363/0.1123, allocations: 111.2 kB / 345.2 MB, free: 2.488 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.113, allocations: 362.5 kB / 345.6 MB, free: 2.121 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.113, allocations: 0 / 345.6 MB, free: 2.121 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.1134, allocations: 262.9 kB / 345.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1137, allocations: 48.09 kB / 345.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1149, allocations: 0.7511 MB / 346.6 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1152, allocations: 0.7714 MB / 347.4 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.1153, allocations: 22.3 kB / 347.4 MB, free: 212 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.1154, allocations: 19.38 kB / 347.5 MB, free: 192 kB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1154, allocations: 0 / 347.5 MB, free: 192 kB / 286.1 MB Notification: Performance of Templates: time 0.0064/0.1218, allocations: 3.209 MB / 350.7 MB, free: 12.98 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches