Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") [: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 4.0.0+maint.om/package.mo): time 0.001727/0.001728, allocations: 179.6 kB / 8.521 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008827/0.0008826, allocations: 76.75 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1779/0.1779, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.431e-06/5.46e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 61.9 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2662/0.3716, allocations: 85.35 MB / 0.5774 GB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.3719, allocations: 55.02 kB / 0.5775 GB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.002495/0.3744, allocations: 0.7347 MB / 0.5782 GB, free: 10.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3744, allocations: 0.75 kB / 0.5782 GB, free: 10.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003251/0.3747, allocations: 342.3 kB / 0.5785 GB, free: 10.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3748, allocations: 11.97 kB / 0.5785 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.3748, allocations: 11.91 kB / 0.5785 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.375, allocations: 175.7 kB / 0.5787 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.375, allocations: 7.906 kB / 0.5787 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.375, allocations: 0 / 0.5787 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.625e-05/0.3751, allocations: 15.94 kB / 0.5787 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.3752, allocations: 60.2 kB / 0.5788 GB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3752, allocations: 4 kB / 0.5788 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3752, allocations: 0 / 0.5788 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3752, allocations: 4 kB / 0.5788 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.3756, allocations: 417.6 kB / 0.5792 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3757, allocations: 29.75 kB / 0.5792 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.3758, allocations: 8.859 kB / 0.5792 GB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.3758, allocations: 4 kB / 0.5792 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.3758, allocations: 34.47 kB / 0.5793 GB, free: 9.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.3758, allocations: 0 / 0.5793 GB, free: 9.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002693/0.3761, allocations: 69.61 kB / 0.5793 GB, free: 9.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.3761, allocations: 55.41 kB / 0.5794 GB, free: 9.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.3762, allocations: 112 kB / 0.5795 GB, free: 9.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3762, allocations: 25.7 kB / 0.5795 GB, free: 9.145 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.3763, allocations: 92.05 kB / 0.5796 GB, free: 9.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.3763, allocations: 11.84 kB / 0.5796 GB, free: 9.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.3763, allocations: 0 / 0.5796 GB, free: 9.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.3764, allocations: 322.7 kB / 0.5799 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/0.3764, allocations: 8 kB / 0.5799 GB, free: 8.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.3765, allocations: 35.42 kB / 0.58 GB, free: 8.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.3765, allocations: 19.92 kB / 0.58 GB, free: 8.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3765, allocations: 4 kB / 0.58 GB, free: 8.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.594e-05/0.3766, allocations: 65.53 kB / 0.5801 GB, free: 8.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.3766, allocations: 8 kB / 0.5801 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3766, allocations: 0 / 0.5801 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.3766, allocations: 240 / 0.5801 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.3767, allocations: 12 kB / 0.5801 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3767, allocations: 0 / 0.5801 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.3768, allocations: 12.08 kB / 0.5801 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3768, allocations: 4 kB / 0.5801 GB, free: 8.531 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.739e-05/0.3768, allocations: 105 kB / 0.5802 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3769, allocations: 11.91 kB / 0.5802 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.3769, allocations: 4.375 kB / 0.5802 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3769, allocations: 3.938 kB / 0.5802 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3769, allocations: 4 kB / 0.5802 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3769, allocations: 0 / 0.5802 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.3771, allocations: 164.5 kB / 0.5804 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3771, allocations: 0 / 0.5804 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.3772, allocations: 11.98 kB / 0.5804 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3772, allocations: 3.828 kB / 0.5804 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3772, allocations: 0 / 0.5804 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3772, allocations: 4 kB / 0.5804 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3772, allocations: 0 / 0.5804 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001474/0.3774, allocations: 159.5 kB / 0.5805 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.3774, allocations: 81.02 kB / 0.5806 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3774, allocations: 4 kB / 0.5806 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.3775, allocations: 4.031 kB / 0.5806 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.3775, allocations: 4 kB / 0.5806 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.3776, allocations: 0 / 0.5806 GB, free: 7.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.23e-05/0.3776, allocations: 91.22 kB / 0.5807 GB, free: 7.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.3778, allocations: 4 kB / 0.5807 GB, free: 7.805 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001252/0.378, allocations: 103.3 kB / 0.5808 GB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.378, allocations: 24 kB / 0.5808 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3781, allocations: 0 / 0.5808 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.3781, allocations: 11.94 kB / 0.5808 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.3783, allocations: 14.25 kB / 0.5809 GB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.3786, allocations: 100 kB / 0.581 GB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.3789, allocations: 0.6995 MB / 0.5816 GB, free: 6.805 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3789, allocations: 0 / 0.5816 GB, free: 6.805 MB / 394.7 MB Notification: Performance of Templates: time 0.002036/0.3809, allocations: 488.4 kB / 0.5821 GB, free: 6.328 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches