Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.00169, allocations: 172.8 kB / 8.146 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 94.52 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2625/0.2625, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.303e-06/7.454e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.4593, allocations: 83.16 MB / 0.5466 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.4597, allocations: 67.25 kB / 0.5466 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.003114/0.4629, allocations: 328.2 kB / 0.547 GB, free: 15.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4629, allocations: 0 / 0.547 GB, free: 15.54 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003242/0.4633, allocations: 318.4 kB / 0.5473 GB, free: 15.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4633, allocations: 8.031 kB / 0.5473 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.4634, allocations: 4 kB / 0.5473 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.4636, allocations: 170.9 kB / 0.5474 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4636, allocations: 0 / 0.5474 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.4636, allocations: 0 / 0.5474 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.453e-05/0.4637, allocations: 7.906 kB / 0.5474 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.4638, allocations: 29.7 kB / 0.5475 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4639, allocations: 0 / 0.5475 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4639, allocations: 4 kB / 0.5475 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.4639, allocations: 4 kB / 0.5475 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.4641, allocations: 130.2 kB / 0.5476 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.4644, allocations: 29.75 kB / 0.5476 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.4644, allocations: 8.859 kB / 0.5476 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008327/0.4728, allocations: 129.1 kB / 0.5478 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.4729, allocations: 38.47 kB / 0.5478 GB, free: 14.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.487e-06/0.4729, allocations: 0 / 0.5478 GB, free: 14.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.002751/0.4757, allocations: 177.5 kB / 0.548 GB, free: 14.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.4758, allocations: 63.39 kB / 0.548 GB, free: 14.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.4759, allocations: 85 kB / 0.5481 GB, free: 14.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.4759, allocations: 29.64 kB / 0.5481 GB, free: 14.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.476, allocations: 150.6 kB / 0.5483 GB, free: 13.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.4761, allocations: 19.72 kB / 0.5483 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.4761, allocations: 0 / 0.5483 GB, free: 13.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4763, allocations: 310.8 kB / 0.5486 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.4764, allocations: 11.94 kB / 0.5486 GB, free: 13.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.4765, allocations: 15.5 kB / 0.5486 GB, free: 13.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.4812, allocations: 19.98 kB / 0.5486 GB, free: 13.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4812, allocations: 0 / 0.5486 GB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003734/0.4816, allocations: 65.66 kB / 0.5487 GB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4817, allocations: 7.281 kB / 0.5487 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4817, allocations: 4 kB / 0.5487 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.4817, allocations: 144 / 0.5487 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.4821, allocations: 19.89 kB / 0.5487 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4821, allocations: 0 / 0.5487 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.4823, allocations: 11.98 kB / 0.5487 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.4824, allocations: 7.984 kB / 0.5488 GB, free: 13.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/0.4825, allocations: 31.05 kB / 0.5488 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.4825, allocations: 3.938 kB / 0.5488 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.483, allocations: 85.41 kB / 0.5489 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.483, allocations: 0 / 0.5489 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.483, allocations: 3.984 kB / 0.5489 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.483, allocations: 0 / 0.5489 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.4843, allocations: 327.8 kB / 0.5492 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4843, allocations: 0 / 0.5492 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.4846, allocations: 15.98 kB / 0.5492 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.4847, allocations: 0 / 0.5492 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4847, allocations: 32 / 0.5492 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.4847, allocations: 8 kB / 0.5492 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4847, allocations: 0 / 0.5492 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003862/0.4851, allocations: 177.9 kB / 0.5494 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.4852, allocations: 81.11 kB / 0.5495 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4853, allocations: 0 / 0.5495 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4856, allocations: 11.98 kB / 0.5495 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.4856, allocations: 11.91 kB / 0.5495 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4857, allocations: 0 / 0.5495 GB, free: 12.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.452e-05/0.4857, allocations: 83.22 kB / 0.5496 GB, free: 12.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004974/0.4862, allocations: 8 kB / 0.5496 GB, free: 12.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.4865, allocations: 103.2 kB / 0.5497 GB, free: 12.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.4867, allocations: 24.09 kB / 0.5497 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4867, allocations: 0 / 0.5497 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.4868, allocations: 19.94 kB / 0.5497 GB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.4871, allocations: 7.922 kB / 0.5497 GB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.4879, allocations: 118.5 kB / 0.5498 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.4884, allocations: 0.6969 MB / 0.5505 GB, free: 11.52 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4884, allocations: 0 / 0.5505 GB, free: 11.52 MB / 394.7 MB Notification: Performance of Templates: time 0.003349/0.4917, allocations: 0.6923 MB / 0.5512 GB, free: 10.82 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches