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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009465/0.0009466, allocations: 175.5 kB / 8.475 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.2 MB / 214.1 MB, free: 5.254 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 86.25 kB / 262.1 MB, free: 5.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.553e-06, allocations: 0 / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09841, allocations: 47.58 MB / 362.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3165/0.415, allocations: 77.98 MB / 440.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001618/0.4152, allocations: 70.25 kB / 440.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02966/0.4448, allocations: 12.52 MB / 453.1 MB, free: 7.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.371e-05/0.4449, allocations: 21.98 kB / 453.1 MB, free: 7.738 MB / 314.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.002174/0.4471, allocations: 1.032 MB / 454.2 MB, free: 7.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4472, allocations: 7.625 kB / 454.2 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.4475, allocations: 104.9 kB / 454.3 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.4482, allocations: 440 kB / 454.7 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.4482, allocations: 34.81 kB / 454.7 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/0.4483, allocations: 61.28 kB / 454.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008859/0.4492, allocations: 497.1 kB / 455.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.4505, allocations: 0.6934 MB / 456 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.4505, allocations: 0 / 456 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.4506, allocations: 0 / 456 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.4506, allocations: 26.89 kB / 456 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004482/0.4551, allocations: 2.86 MB / 458.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.4555, allocations: 248.6 kB / 459.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.4559, allocations: 235.9 kB / 459.3 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4559, allocations: 3.969 kB / 459.3 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4559, allocations: 41.59 kB / 459.4 MB, free: 4.715 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.4559, allocations: 0 / 459.4 MB, free: 4.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008194/0.4568, allocations: 365.7 kB / 459.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.4568, allocations: 60.44 kB / 459.8 MB, free: 4.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.4573, allocations: 405.5 kB / 460.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.4573, allocations: 26.45 kB / 460.2 MB, free: 4.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.4576, allocations: 450.2 kB / 460.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4577, allocations: 152.2 kB / 460.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.4578, allocations: 0 / 460.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.4579, allocations: 358.9 kB / 461.2 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.4582, allocations: 140.4 kB / 461.3 MB, free: 3.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.4585, allocations: 413.2 kB / 461.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.4589, allocations: 217 kB / 461.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4589, allocations: 10.53 kB / 461.9 MB, free: 3.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001011/0.4599, allocations: 0.6286 MB / 462.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4599, allocations: 9.625 kB / 462.6 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4599, allocations: 8.531 kB / 462.6 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.4602, allocations: 87.08 kB / 462.7 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.4609, allocations: 204.7 kB / 462.9 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.4625, allocations: 1.707 MB / 464.6 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.4631, allocations: 70.75 kB / 464.6 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.4632, allocations: 43.95 kB / 464.7 MB, free: 1.465 MB / 314.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.0001204/0.4633, allocations: 129.8 kB / 464.8 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4634, allocations: 56.31 kB / 464.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.675e-05/0.4635, allocations: 52.95 kB / 464.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4635, allocations: 5.219 kB / 464.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4635, allocations: 1.344 kB / 464.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.4635, allocations: 3.984 kB / 464.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.4641, allocations: 0.5313 MB / 465.4 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4642, allocations: 0.8438 kB / 465.4 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.4646, allocations: 104.4 kB / 465.6 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.4648, allocations: 73.5 kB / 465.6 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.4649, allocations: 9.234 kB / 465.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.4663, allocations: 1.693 MB / 467.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4664, allocations: 96 / 467.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009027/0.4673, allocations: 0.6028 MB / 467.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4674, allocations: 137.9 kB / 468.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.4675, allocations: 1.156 kB / 468.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.4681, allocations: 46.06 kB / 468.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.4682, allocations: 20.97 kB / 468.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.4683, allocations: 11.44 kB / 468.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003651/0.4686, allocations: 301.4 kB / 468.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009492/0.4696, allocations: 223.5 kB / 468.7 MB, free: 15.05 MB / 330.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.0001916/0.4698, allocations: 102.7 kB / 468.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009735/0.4708, allocations: 0.5137 MB / 469.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4708, allocations: 1 kB / 469.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.4712, allocations: 272.9 kB / 469.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.4717, allocations: 84.66 kB / 469.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4741, allocations: 1.061 MB / 470.7 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007319/0.4749, allocations: 0.9931 MB / 471.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.113e-06/0.4749, allocations: 0 / 471.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01312/0.488, allocations: 6.381 MB / 478.1 MB, free: 9.68 MB / 330.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