Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [: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.0009576/0.0009579, allocations: 188.4 kB / 7.803 MB, free: 2.48 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.037/1.037, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008312/0.0008312, allocations: 96.5 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1506/0.1506, allocations: 43.49 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-06/4.288e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2126, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09331/0.306, allocations: 83.55 MB / 0.547 GB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.3062, allocations: 59.97 kB / 0.547 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.004938/0.3112, allocations: 1.465 MB / 0.5485 GB, free: 13.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.3112, allocations: 4 kB / 0.5485 GB, free: 13.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002624/0.3115, allocations: 362.3 kB / 0.5488 GB, free: 13.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3115, allocations: 8.031 kB / 0.5488 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.3116, allocations: 7.906 kB / 0.5488 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.534e-05/0.3117, allocations: 162.2 kB / 0.549 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3117, allocations: 4 kB / 0.549 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3117, allocations: 7.906 kB / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.493e-05/0.3118, allocations: 27.92 kB / 0.549 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.436e-05/0.3119, allocations: 45.69 kB / 0.5491 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3119, allocations: 8 kB / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3119, allocations: 0 / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3119, allocations: 0 / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.3121, allocations: 146.1 kB / 0.5492 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3123, allocations: 45.7 kB / 0.5493 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.3123, allocations: 25.08 kB / 0.5493 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.3125, allocations: 121.1 kB / 0.5494 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3126, allocations: 34.56 kB / 0.5494 GB, free: 12.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3126, allocations: 0 / 0.5494 GB, free: 12.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.03619/0.3488, allocations: 2.182 MB / 0.5516 GB, free: 10.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.3488, allocations: 59.39 kB / 0.5516 GB, free: 10.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.3489, allocations: 93 kB / 0.5517 GB, free: 10.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.3489, allocations: 25.7 kB / 0.5517 GB, free: 10.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.349, allocations: 80.14 kB / 0.5518 GB, free: 10.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.349, allocations: 63.05 kB / 0.5519 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.3491, allocations: 0 / 0.5519 GB, free: 10.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3492, allocations: 322.8 kB / 0.5522 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.3494, allocations: 136 kB / 0.5523 GB, free: 9.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.3496, allocations: 140 kB / 0.5524 GB, free: 9.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.3501, allocations: 203 kB / 0.5526 GB, free: 9.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3501, allocations: 0 / 0.5526 GB, free: 9.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008444/0.351, allocations: 417.3 kB / 0.553 GB, free: 9.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.351, allocations: 4 kB / 0.553 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.351, allocations: 7.891 kB / 0.553 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.351, allocations: 0 / 0.553 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.3514, allocations: 79.94 kB / 0.5531 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.3514, allocations: 4 kB / 0.5531 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.3517, allocations: 23.98 kB / 0.5531 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.3517, allocations: 19.98 kB / 0.5532 GB, free: 8.934 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 (19): * Single equations (assignments): 19 * 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 9.346e-05/0.3518, allocations: 110.3 kB / 0.5533 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.3519, allocations: 7.906 kB / 0.5533 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.3531, allocations: 0.533 MB / 0.5538 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3531, allocations: 7.906 kB / 0.5538 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3532, allocations: 0 / 0.5538 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3532, allocations: 0 / 0.5538 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.3551, allocations: 0.8506 MB / 0.5546 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3551, allocations: 256 / 0.5546 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.3554, allocations: 88.25 kB / 0.5547 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3554, allocations: 4 kB / 0.5547 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.3555, allocations: 15.92 kB / 0.5547 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3555, allocations: 4 kB / 0.5547 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3555, allocations: 7.906 kB / 0.5547 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007577/0.3562, allocations: 491.4 kB / 0.5552 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.3563, allocations: 85.02 kB / 0.5553 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.3563, allocations: 7.938 kB / 0.5553 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.3566, allocations: 27.97 kB / 0.5553 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.3566, allocations: 23.88 kB / 0.5554 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.3566, allocations: 12 kB / 0.5554 GB, free: 6.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.573e-05/0.3567, allocations: 83.27 kB / 0.5554 GB, free: 6.422 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008698/0.3576, allocations: 335.7 kB / 0.5558 GB, free: 6.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001254/0.3588, allocations: 266.8 kB / 0.556 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.3592, allocations: 264.1 kB / 0.5563 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3592, allocations: 0 / 0.5563 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.3594, allocations: 115.8 kB / 0.5564 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.3596, allocations: 4.344 kB / 0.5564 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3608, allocations: 364.8 kB / 0.5567 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.3612, allocations: 0.7507 MB / 0.5575 GB, free: 4.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3612, allocations: 3.938 kB / 0.5575 GB, free: 4.262 MB / 394.7 MB Notification: Performance of Templates: time 0.01974/0.381, allocations: 17.13 MB / 0.5742 GB, free: 3.086 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches