Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001191, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.77 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008178/0.138, allocations: 5.77 MB / 364.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.1414, allocations: 1.204 MB / 365.9 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.1419, allocations: 19.94 kB / 365.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1425, allocations: 174.3 kB / 366.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.1431, allocations: 277.5 kB / 366.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.1437, allocations: 219.6 kB / 366.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1448, allocations: 1.063 MB / 367.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008107/0.1456, allocations: 0.522 MB / 368.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.146, allocations: 406.6 kB / 368.5 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.1466, allocations: 481.9 kB / 369 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.1467, allocations: 96 kB / 369.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1468, allocations: 100 kB / 369.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.147, allocations: 215.3 kB / 369.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.1475, allocations: 0.5054 MB / 369.9 MB, free: 2.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.1486, allocations: 1.102 MB / 371 MB, free: 1.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1486, allocations: 0 / 371 MB, free: 1.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1487, allocations: 0 / 371 MB, free: 1.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.1487, allocations: 4 kB / 371 MB, free: 1.152 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.292/0.4407, allocations: 1.23 MB / 372.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.4408, allocations: 9.281 kB / 372.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.4412, allocations: 103.2 kB / 372.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.4421, allocations: 465.5 kB / 372.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/0.4422, allocations: 70.31 kB / 372.9 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.4423, allocations: 97.95 kB / 373 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.444, allocations: 0.8682 MB / 373.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.444, allocations: 3.375 kB / 373.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.4441, allocations: 41.78 kB / 373.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.4441, allocations: 23.94 kB / 373.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.4452, allocations: 0.5699 MB / 374.5 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.4496, allocations: 2.937 MB / 377.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.45, allocations: 311.9 kB / 377.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.4504, allocations: 270 kB / 378 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.4505, allocations: 7.594 kB / 378 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4505, allocations: 39.08 kB / 378 MB, free: 17.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.045e-06/0.4505, allocations: 1.594 kB / 378 MB, free: 17.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001443/0.452, allocations: 0.65 MB / 378.7 MB, free: 17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.452, allocations: 56.83 kB / 378.7 MB, free: 16.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.4526, allocations: 0.5074 MB / 379.3 MB, free: 16.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.4527, allocations: 32.11 kB / 379.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.453, allocations: 494.3 kB / 379.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4531, allocations: 153.2 kB / 379.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.4534, allocations: 139.5 kB / 380.1 MB, free: 16.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4535, allocations: 370.1 kB / 380.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.4538, allocations: 167.2 kB / 380.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.4543, allocations: 455.1 kB / 381 MB, free: 15.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.455, allocations: 0.649 MB / 381.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.455, allocations: 3.281 kB / 381.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00122/0.4562, allocations: 0.7632 MB / 382.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4563, allocations: 8 kB / 382.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4563, allocations: 9.594 kB / 382.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.4566, allocations: 87.02 kB / 382.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.4573, allocations: 192.9 kB / 382.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.4589, allocations: 2.002 MB / 384.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.4594, allocations: 85.83 kB / 384.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.4595, allocations: 36.83 kB / 384.8 MB, free: 12.48 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.0002456/0.4597, allocations: 219.6 kB / 385.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.4598, allocations: 58.38 kB / 385.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.4599, allocations: 64.88 kB / 385.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4599, allocations: 9.125 kB / 385.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.46, allocations: 6.281 kB / 385.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.46, allocations: 5.812 kB / 385.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.4608, allocations: 0.642 MB / 385.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4608, allocations: 0 / 385.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.4612, allocations: 96.88 kB / 385.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.4614, allocations: 76.75 kB / 386 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.4614, allocations: 7.328 kB / 386 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.4629, allocations: 1.987 MB / 388 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4629, allocations: 0 / 388 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009676/0.4639, allocations: 0.6648 MB / 388.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.464, allocations: 132.7 kB / 388.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.4641, allocations: 7 kB / 388.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.4646, allocations: 48.16 kB / 388.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.4646, allocations: 27.22 kB / 388.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.4647, allocations: 15.58 kB / 388.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004077/0.4651, allocations: 347.9 kB / 389.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4651, allocations: 0 / 389.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009058/0.466, allocations: 245.7 kB / 389.5 MB, free: 9.297 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.0001752/0.4662, allocations: 117.1 kB / 389.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.4674, allocations: 0.5938 MB / 390.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4674, allocations: 0 / 390.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.4679, allocations: 316.3 kB / 390.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.4686, allocations: 125.9 kB / 390.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.4712, allocations: 1.38 MB / 392 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.4718, allocations: 0.9357 MB / 392.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.4721, allocations: 69.78 kB / 393 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4723, allocations: 39.88 kB / 393 MB, free: 7.117 MB / 302.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4723, allocations: 4 kB / 393 MB, free: 7.113 MB / 302.1 MB Notification: Performance of Templates: time 0.01529/0.4876, allocations: 7.163 MB / 400.2 MB, free: 4.043 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches