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.002009/0.002009, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.002279/0.002279, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.606/1.606, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 47.3 kB / 299.9 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1134, allocations: 49.45 MB / 349.4 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00674/0.1202, allocations: 5.749 MB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1228, allocations: 1.165 MB / 356.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.1232, allocations: 23.94 kB / 356.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1236, allocations: 123 kB / 356.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.1242, allocations: 238 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.1246, allocations: 187.8 kB / 356.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009006/0.1255, allocations: 1.021 MB / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006029/0.1261, allocations: 448.6 kB / 358.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.1265, allocations: 394.6 kB / 358.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.1269, allocations: 461.9 kB / 359.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.127, allocations: 72 kB / 359.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1272, allocations: 72 kB / 359.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1273, allocations: 191.3 kB / 359.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.1278, allocations: 493.6 kB / 360 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008105/0.1286, allocations: 1.059 MB / 361 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1286, allocations: 4 kB / 361 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1286, allocations: 0 / 361 MB, free: 9.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1286, allocations: 0 / 361 MB, free: 9.113 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.001866/0.1305, allocations: 1.236 MB / 362.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1306, allocations: 12.03 kB / 362.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.1307, allocations: 107.7 kB / 362.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.1313, allocations: 443.2 kB / 362.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.1313, allocations: 74.38 kB / 362.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1314, allocations: 100.3 kB / 363 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1327, allocations: 0.8716 MB / 363.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1328, allocations: 0 / 363.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.1328, allocations: 44 kB / 363.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.1329, allocations: 20 kB / 363.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/0.1338, allocations: 0.57 MB / 364.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.1378, allocations: 2.964 MB / 367.5 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.1383, allocations: 294.5 kB / 367.7 MB, free: 2.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.1386, allocations: 268.7 kB / 368 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1387, allocations: 4 kB / 368 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.1387, allocations: 38.56 kB / 368.1 MB, free: 1.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.926e-06/0.1387, allocations: 7.938 kB / 368.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001382/0.1401, allocations: 0.647 MB / 368.7 MB, free: 1.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1402, allocations: 55.41 kB / 368.8 MB, free: 1.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.1407, allocations: 0.5181 MB / 369.3 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.1407, allocations: 33.7 kB / 369.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.141, allocations: 489.5 kB / 369.8 MB, free: 44 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2549/0.3959, allocations: 152.2 kB / 369.9 MB, free: 25.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005191/0.3965, allocations: 134.2 kB / 370.1 MB, free: 25.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003058/0.3968, allocations: 365 kB / 370.4 MB, free: 25.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.3974, allocations: 170.3 kB / 370.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/0.3981, allocations: 455.7 kB / 371 MB, free: 25.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.3992, allocations: 0.6505 MB / 371.7 MB, free: 24.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.3992, allocations: 3.125 kB / 371.7 MB, free: 24.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001921/0.4012, allocations: 0.7638 MB / 372.5 MB, free: 24.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.4012, allocations: 8.344 kB / 372.5 MB, free: 24.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.4013, allocations: 9.547 kB / 372.5 MB, free: 24.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.4017, allocations: 83.78 kB / 372.6 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008488/0.4026, allocations: 191.8 kB / 372.7 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.4052, allocations: 1.811 MB / 374.6 MB, free: 22.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.406, allocations: 94.14 kB / 374.6 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.406, allocations: 34.52 kB / 374.7 MB, free: 22.7 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.0004873/0.4065, allocations: 217.7 kB / 374.9 MB, free: 22.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.4067, allocations: 58.3 kB / 374.9 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.4068, allocations: 63.78 kB / 375 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.4068, allocations: 4.406 kB / 375 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.4068, allocations: 1.438 kB / 375 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4069, allocations: 2.062 kB / 375 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.4079, allocations: 0.6484 MB / 375.7 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.408, allocations: 1.375 kB / 375.7 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.4084, allocations: 100 kB / 375.8 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.4087, allocations: 77.38 kB / 375.8 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.4087, allocations: 12.3 kB / 375.9 MB, free: 22.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.4106, allocations: 1.786 MB / 377.6 MB, free: 20.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4106, allocations: 5.141 kB / 377.6 MB, free: 20.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.4117, allocations: 0.6569 MB / 378.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4119, allocations: 143.7 kB / 378.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.412, allocations: 11.66 kB / 378.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.4124, allocations: 43.84 kB / 378.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.4125, allocations: 27.56 kB / 378.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.4125, allocations: 14.17 kB / 378.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005306/0.4131, allocations: 351.5 kB / 378.9 MB, free: 19.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4131, allocations: 0 / 378.9 MB, free: 19.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00113/0.4142, allocations: 244.2 kB / 379.1 MB, free: 19.7 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.0001962/0.4144, allocations: 117.5 kB / 379.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.4158, allocations: 0.59 MB / 379.8 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4158, allocations: 1.031 kB / 379.8 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.4163, allocations: 320.8 kB / 380.1 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/0.4171, allocations: 116.4 kB / 380.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.4197, allocations: 1.769 MB / 382 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.4203, allocations: 0.9303 MB / 382.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.4207, allocations: 70.66 kB / 383 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4208, allocations: 39.41 kB / 383.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4208, allocations: 0 / 383.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01752/0.4383, allocations: 6.81 MB / 389.9 MB, free: 15.38 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/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