Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.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.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002346/0.002346, allocations: 176.3 kB / 8.149 MB, free: 2.199 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.876/1.876, allocations: 205.2 MB / 213.8 MB, free: 13.85 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.001301/0.001301, allocations: 93.33 kB / 261.8 MB, free: 13.61 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.2865/0.2865, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.684e-06/7.775e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.289, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.4427, allocations: 84.24 MB / 0.5476 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.443, allocations: 59.97 kB / 0.5477 GB, free: 14.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.003844/0.4468, allocations: 0.7117 MB / 0.5484 GB, free: 14.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4469, allocations: 0 / 0.5484 GB, free: 14.07 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.0004303/0.4473, allocations: 346.3 kB / 0.5487 GB, free: 13.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4474, allocations: 8.031 kB / 0.5487 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.4474, allocations: 7.906 kB / 0.5487 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.4477, allocations: 179 kB / 0.5489 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4477, allocations: 4 kB / 0.5489 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.4477, allocations: 4 kB / 0.5489 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.493e-05/0.4478, allocations: 12 kB / 0.5489 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.448, allocations: 64.2 kB / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4481, allocations: 0 / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4481, allocations: 0 / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.4481, allocations: 4 kB / 0.549 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.4487, allocations: 416.1 kB / 0.5494 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.4489, allocations: 29.72 kB / 0.5494 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.4489, allocations: 12.8 kB / 0.5494 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.4489, allocations: 3.906 kB / 0.5494 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.449, allocations: 34.56 kB / 0.5495 GB, free: 12.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.449, allocations: 0 / 0.5495 GB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003979/0.4494, allocations: 73.56 kB / 0.5495 GB, free: 12.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.4494, allocations: 51.41 kB / 0.5496 GB, free: 12.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.4496, allocations: 117.1 kB / 0.5497 GB, free: 12.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4496, allocations: 25.7 kB / 0.5497 GB, free: 12.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.4497, allocations: 158.4 kB / 0.5499 GB, free: 12.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.4497, allocations: 19.75 kB / 0.5499 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.4497, allocations: 3.172 kB / 0.5499 GB, free: 12.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4499, allocations: 310.8 kB / 0.5502 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.4499, allocations: 8 kB / 0.5502 GB, free: 12.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.45, allocations: 39.42 kB / 0.5502 GB, free: 11.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.4501, allocations: 12 kB / 0.5502 GB, free: 11.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4501, allocations: 0 / 0.5502 GB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000167/0.4502, allocations: 65.62 kB / 0.5503 GB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4503, allocations: 7.281 kB / 0.5503 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4503, allocations: 0 / 0.5503 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4503, allocations: 4 kB / 0.5503 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.4505, allocations: 16.08 kB / 0.5503 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4505, allocations: 11.84 kB / 0.5503 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.4506, allocations: 0 / 0.5503 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.4506, allocations: 4 kB / 0.5503 GB, free: 11.84 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.457e-05/0.4507, allocations: 25.7 kB / 0.5504 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.4507, allocations: 7.906 kB / 0.5504 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.4508, allocations: 11.98 kB / 0.5504 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4508, allocations: 8 kB / 0.5504 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4508, allocations: 0 / 0.5504 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4508, allocations: 0 / 0.5504 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.451, allocations: 146.2 kB / 0.5505 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.451, allocations: 0 / 0.5505 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.4512, allocations: 8 kB / 0.5505 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4512, allocations: 0 / 0.5505 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4512, allocations: 7.906 kB / 0.5505 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4512, allocations: 0 / 0.5505 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4513, allocations: 0 / 0.5505 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000242/0.4515, allocations: 167.4 kB / 0.5507 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4516, allocations: 81.11 kB / 0.5508 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.4517, allocations: 4.125 kB / 0.5508 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.4519, allocations: 8 kB / 0.5508 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.452, allocations: 8.312 kB / 0.5508 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.4521, allocations: 4.031 kB / 0.5508 GB, free: 11.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001147/0.4522, allocations: 95.28 kB / 0.5509 GB, free: 11.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007138/0.4529, allocations: 8 kB / 0.5509 GB, free: 11.18 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.0002608/0.4532, allocations: 91.25 kB / 0.551 GB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.4535, allocations: 27.92 kB / 0.551 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4535, allocations: 0 / 0.551 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.4536, allocations: 12 kB / 0.551 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.4543, allocations: 4 kB / 0.551 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.4551, allocations: 134.5 kB / 0.5512 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.4556, allocations: 0.7032 MB / 0.5518 GB, free: 10.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4556, allocations: 0 / 0.5518 GB, free: 10.15 MB / 394.7 MB Notification: Performance of Templates: time 0.002909/0.4585, allocations: 0.7821 MB / 0.5526 GB, free: 9.367 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches