Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007765/0.0007766, allocations: 78.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.422e-05/2.424e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08451, allocations: 47.58 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4246, allocations: 78.72 MB / 448.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4249, allocations: 70.83 kB / 448.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0323/0.4572, allocations: 12.83 MB / 461.6 MB, free: 3.219 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4573, allocations: 4 kB / 461.6 MB, free: 3.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.4573, allocations: 16 kB / 461.7 MB, free: 3.199 MB / 330.7 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.00159/0.4589, allocations: 1.01 MB / 462.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.459, allocations: 8.031 kB / 462.7 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.4591, allocations: 106.8 kB / 462.8 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.4597, allocations: 438.9 kB / 463.2 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.4598, allocations: 70 kB / 463.3 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.4599, allocations: 92 kB / 463.4 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.4612, allocations: 0.8364 MB / 464.2 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4613, allocations: 4 kB / 464.2 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.4614, allocations: 40 kB / 464.2 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.4614, allocations: 24 kB / 464.3 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009232/0.4623, allocations: 0.535 MB / 464.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.4665, allocations: 2.999 MB / 467.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.4669, allocations: 299 kB / 468.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.4673, allocations: 254.2 kB / 468.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4673, allocations: 8 kB / 468.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4673, allocations: 38.55 kB / 468.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.384e-06/0.4673, allocations: 4 kB / 468.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007321/0.4681, allocations: 389.7 kB / 468.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4681, allocations: 63.36 kB / 468.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.4686, allocations: 456.5 kB / 469.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.4687, allocations: 29.7 kB / 469.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.4689, allocations: 489.5 kB / 469.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4691, allocations: 157.8 kB / 469.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.4691, allocations: 16 kB / 470 MB, free: 10.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4693, allocations: 366.8 kB / 470.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.4695, allocations: 161.5 kB / 470.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.47, allocations: 427.5 kB / 470.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.4704, allocations: 231.1 kB / 471.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4704, allocations: 0 / 471.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001066/0.4715, allocations: 0.7373 MB / 471.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.4715, allocations: 8 kB / 471.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.4715, allocations: 11.98 kB / 471.9 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.4718, allocations: 81.23 kB / 472 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.4725, allocations: 203.7 kB / 472.2 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.4742, allocations: 1.792 MB / 473.9 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.4747, allocations: 99.02 kB / 474 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.4748, allocations: 39.98 kB / 474.1 MB, free: 6.191 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.475, allocations: 153.5 kB / 474.2 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.4751, allocations: 63.33 kB / 474.3 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4752, allocations: 65.28 kB / 474.4 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4752, allocations: 11.95 kB / 474.4 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4752, allocations: 288 / 474.4 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4752, allocations: 4 kB / 474.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.476, allocations: 0.6376 MB / 475 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.476, allocations: 3.938 kB / 475 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.4764, allocations: 99.88 kB / 475.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.4766, allocations: 76.73 kB / 475.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.4766, allocations: 8 kB / 475.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.4783, allocations: 1.781 MB / 477 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4783, allocations: 0 / 477 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008777/0.4792, allocations: 0.6338 MB / 477.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.4793, allocations: 140.3 kB / 477.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.4794, allocations: 11.95 kB / 477.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.4798, allocations: 51.97 kB / 477.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.4799, allocations: 32.08 kB / 477.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.4799, allocations: 16 kB / 477.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003745/0.4803, allocations: 333.6 kB / 478.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4803, allocations: 3.938 kB / 478.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007361/0.4811, allocations: 247.2 kB / 478.4 MB, free: 1.609 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.4813, allocations: 120.2 kB / 478.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.4822, allocations: 0.5696 MB / 479.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4823, allocations: 4 kB / 479.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.4827, allocations: 306.1 kB / 479.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.4832, allocations: 106.5 kB / 479.5 MB, free: 492 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.485, allocations: 1.092 MB / 480.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.4855, allocations: 0.9496 MB / 481.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002892/0.4858, allocations: 69.22 kB / 481.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.4859, allocations: 39.44 kB / 481.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4859, allocations: 0 / 481.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Templates: time 0.01177/0.4977, allocations: 6.534 MB / 488.2 MB, free: 7.738 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches