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.001208/0.001208, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001235/0.001235, allocations: 188 kB / 18 MB, free: 5.219 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.579/1.579, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 51.92 kB / 351.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4284, allocations: 49.43 MB / 400.8 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007532/0.436, allocations: 5.767 MB / 406.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.4393, allocations: 1.165 MB / 407.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006284/0.44, allocations: 19.94 kB / 407.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.4405, allocations: 178.3 kB / 407.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.4413, allocations: 277.5 kB / 408.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.4418, allocations: 219.7 kB / 408.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.4429, allocations: 1.067 MB / 409.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000736/0.4436, allocations: 0.5103 MB / 410 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004209/0.444, allocations: 414.6 kB / 410.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005451/0.4446, allocations: 477.9 kB / 410.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.4447, allocations: 100 kB / 410.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4449, allocations: 96 kB / 411 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.4451, allocations: 219.3 kB / 411.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.4456, allocations: 0.5015 MB / 411.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.4468, allocations: 1.107 MB / 412.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4468, allocations: 0 / 412.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4468, allocations: 0 / 412.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.4469, allocations: 0 / 412.8 MB, free: 12.86 MB / 334.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.002062/0.4489, allocations: 1.236 MB / 414.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.449, allocations: 8.031 kB / 414.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.4491, allocations: 103.8 kB / 414.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.4498, allocations: 467 kB / 414.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.4499, allocations: 70.38 kB / 414.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.45, allocations: 96.38 kB / 414.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.4514, allocations: 0.8716 MB / 415.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.4514, allocations: 0 / 415.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.4515, allocations: 40 kB / 415.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.4515, allocations: 24 kB / 415.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009496/0.4525, allocations: 0.5661 MB / 416.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004255/0.4568, allocations: 2.956 MB / 419.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.4572, allocations: 297.7 kB / 419.5 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.4576, allocations: 264.8 kB / 419.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.4576, allocations: 8 kB / 419.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4577, allocations: 38.56 kB / 419.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.195e-06/0.4577, allocations: 0 / 419.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001669/0.4593, allocations: 0.6549 MB / 420.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4594, allocations: 55.41 kB / 420.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007306/0.4601, allocations: 0.5141 MB / 421.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.4602, allocations: 33.7 kB / 421.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.4606, allocations: 485.5 kB / 421.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.4607, allocations: 157.8 kB / 421.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.4609, allocations: 146.5 kB / 421.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4611, allocations: 366.8 kB / 422.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.4614, allocations: 169.9 kB / 422.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.4619, allocations: 453.6 kB / 422.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008183/0.4627, allocations: 0.6479 MB / 423.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.4627, allocations: 4 kB / 423.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00129/0.464, allocations: 0.7608 MB / 424.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.4641, allocations: 10.81 kB / 424.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.4641, allocations: 11.94 kB / 424.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.4645, allocations: 89.09 kB / 424.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.4652, allocations: 191.7 kB / 424.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.4676, allocations: 2.006 MB / 426.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.4681, allocations: 95.03 kB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.4682, allocations: 36 kB / 426.7 MB, free: 14.26 MB / 350.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.0004396/0.4687, allocations: 213.8 kB / 426.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.4688, allocations: 55.34 kB / 427 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.4689, allocations: 65.52 kB / 427 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4689, allocations: 7.938 kB / 427 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.4689, allocations: 0 / 427 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.4689, allocations: 3.984 kB / 427 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.4698, allocations: 0.6531 MB / 427.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4698, allocations: 0 / 427.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.4702, allocations: 99.88 kB / 427.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.4704, allocations: 68.8 kB / 427.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.4705, allocations: 16 kB / 427.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.4724, allocations: 1.967 MB / 429.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4724, allocations: 3.984 kB / 429.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.4734, allocations: 0.6736 MB / 430.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.4735, allocations: 136.4 kB / 430.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.4736, allocations: 12.41 kB / 430.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.474, allocations: 47.97 kB / 430.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.4741, allocations: 23.97 kB / 430.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.4741, allocations: 23.92 kB / 430.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003915/0.4745, allocations: 342.9 kB / 431.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4745, allocations: 0 / 431.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008498/0.4754, allocations: 243.3 kB / 431.3 MB, free: 9.391 MB / 350.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.0001907/0.4756, allocations: 125.2 kB / 431.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.4766, allocations: 0.5932 MB / 432 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4767, allocations: 0 / 432 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.4771, allocations: 314.4 kB / 432.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.4777, allocations: 122.4 kB / 432.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.4801, allocations: 1.386 MB / 433.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.4806, allocations: 0.9337 MB / 434.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.4809, allocations: 65.22 kB / 434.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.4809, allocations: 43.44 kB / 434.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.481, allocations: 0 / 434.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of Templates: time 0.01466/0.4956, allocations: 7.277 MB / 442.2 MB, free: 14.52 MB / 366.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