Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001569/0.001569, allocations: 180.6 kB / 13.66 MB, free: 1.66 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.994/1.994, allocations: 205.2 MB / 219.4 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.00108/0.001081, allocations: 90.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.359e-05, allocations: 8 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.4981, allocations: 78.72 MB / 447.8 MB, free: 14.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4984, allocations: 66.59 kB / 447.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05458/0.553, allocations: 12.83 MB / 460.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5531, allocations: 0 / 460.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.5531, allocations: 20 kB / 460.7 MB, free: 3.52 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.002903/0.5561, allocations: 1.01 MB / 461.7 MB, free: 2.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.5561, allocations: 12.03 kB / 461.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.5565, allocations: 102.8 kB / 461.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/0.5575, allocations: 442.9 kB / 462.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.479e-05/0.5576, allocations: 74 kB / 462.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.5578, allocations: 92 kB / 462.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.5601, allocations: 0.8364 MB / 463.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.5602, allocations: 0 / 463.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.5603, allocations: 40 kB / 463.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.5604, allocations: 24 kB / 463.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.5621, allocations: 0.539 MB / 463.9 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007616/0.5697, allocations: 2.999 MB / 466.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.5705, allocations: 287 kB / 467.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.571, allocations: 262.1 kB / 467.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.5711, allocations: 7.984 kB / 467.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.5712, allocations: 38.56 kB / 467.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.226e-06/0.5712, allocations: 0 / 467.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001289/0.5725, allocations: 389.7 kB / 467.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.5726, allocations: 59.36 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008828/0.5735, allocations: 456.5 kB / 468.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.5736, allocations: 37.64 kB / 468.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/0.574, allocations: 0.5195 MB / 468.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.5742, allocations: 153.8 kB / 469.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.5742, allocations: 20 kB / 469.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5744, allocations: 338.8 kB / 469.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.5749, allocations: 161.5 kB / 469.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.5756, allocations: 435.5 kB / 470 MB, free: 9.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.5762, allocations: 227.1 kB / 470.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5763, allocations: 0 / 470.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001886/0.5782, allocations: 0.6986 MB / 470.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.5782, allocations: 8 kB / 470.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.5783, allocations: 15.98 kB / 470.9 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/0.5787, allocations: 89.23 kB / 471 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.5801, allocations: 195.7 kB / 471.2 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.5829, allocations: 1.803 MB / 473 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000968/0.5839, allocations: 95.11 kB / 473.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.584, allocations: 32.28 kB / 473.1 MB, free: 6.527 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.0002572/0.5843, allocations: 157.5 kB / 473.3 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.5845, allocations: 59.28 kB / 473.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.5847, allocations: 69.22 kB / 473.4 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5847, allocations: 7.953 kB / 473.4 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.5847, allocations: 7.984 kB / 473.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5847, allocations: 0 / 473.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.586, allocations: 0.6376 MB / 474.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.586, allocations: 0 / 474.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008562/0.5869, allocations: 103.9 kB / 474.2 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/0.5873, allocations: 72.8 kB / 474.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.5873, allocations: 8 kB / 474.3 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.59, allocations: 1.78 MB / 476 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.59, allocations: 0 / 476 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.5916, allocations: 0.6376 MB / 476.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.5918, allocations: 136.4 kB / 476.8 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.592, allocations: 11.95 kB / 476.8 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.5928, allocations: 52.09 kB / 476.9 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5929, allocations: 27.95 kB / 476.9 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.593, allocations: 16.28 kB / 476.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006222/0.5936, allocations: 341.6 kB / 477.2 MB, free: 2.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.494e-06/0.5936, allocations: 0 / 477.2 MB, free: 2.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001131/0.5947, allocations: 255 kB / 477.5 MB, free: 1.938 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.0002287/0.595, allocations: 119.2 kB / 477.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.5965, allocations: 0.5654 MB / 478.2 MB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.5966, allocations: 0 / 478.2 MB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.5973, allocations: 306.1 kB / 478.5 MB, free: 0.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.5982, allocations: 106.7 kB / 478.6 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.6013, allocations: 1.129 MB / 479.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.6019, allocations: 0.9496 MB / 480.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.6022, allocations: 43.44 kB / 480.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6022, allocations: 0 / 480.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Templates: time 0.02328/0.6255, allocations: 10.65 MB / 491.3 MB, free: 3.977 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches