Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") [: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.002202/0.002202, allocations: 172.2 kB / 8.147 MB, free: 2.207 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.821/1.821, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001345/0.001344, allocations: 98.61 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.2606/0.2606, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.786e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 58.82 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.446, allocations: 83.84 MB / 0.5472 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.4464, allocations: 63.47 kB / 0.5473 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.007863/0.4542, allocations: 1.696 MB / 0.5489 GB, free: 13.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4543, allocations: 0 / 0.5489 GB, free: 13.52 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005156/0.4548, allocations: 378.4 kB / 0.5493 GB, free: 13.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4549, allocations: 12.03 kB / 0.5493 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.455, allocations: 11.81 kB / 0.5493 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.4551, allocations: 171 kB / 0.5495 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.4552, allocations: 4 kB / 0.5495 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.4552, allocations: 11.91 kB / 0.5495 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001876/0.4554, allocations: 56.39 kB / 0.5496 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.4557, allocations: 106.2 kB / 0.5497 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4558, allocations: 4 kB / 0.5497 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4558, allocations: 0 / 0.5497 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4558, allocations: 4 kB / 0.5497 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009975/0.4568, allocations: 0.5064 MB / 0.5502 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.457, allocations: 67.45 kB / 0.5502 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.4571, allocations: 25.72 kB / 0.5503 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.4571, allocations: 4 kB / 0.5503 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.4572, allocations: 34.56 kB / 0.5503 GB, free: 11.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.4572, allocations: 0 / 0.5503 GB, free: 11.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004378/0.4576, allocations: 95.33 kB / 0.5504 GB, free: 11.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.4577, allocations: 85.09 kB / 0.5505 GB, free: 11.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4578, allocations: 113.9 kB / 0.5506 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4578, allocations: 25.7 kB / 0.5506 GB, free: 11.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.458, allocations: 178.2 kB / 0.5508 GB, free: 11.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.458, allocations: 39.45 kB / 0.5508 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-06/0.458, allocations: 0 / 0.5508 GB, free: 11.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4582, allocations: 318.8 kB / 0.5511 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.4583, allocations: 20 kB / 0.5511 GB, free: 11.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.4584, allocations: 81.92 kB / 0.5512 GB, free: 10.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.4585, allocations: 40.06 kB / 0.5512 GB, free: 10.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4585, allocations: 0 / 0.5512 GB, free: 10.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000416/0.4589, allocations: 147.1 kB / 0.5514 GB, free: 10.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.459, allocations: 6.812 kB / 0.5514 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.459, allocations: 0 / 0.5514 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.4592, allocations: 37.64 kB / 0.5514 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.4594, allocations: 27.92 kB / 0.5515 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.4617, allocations: 2.41 MB / 0.5538 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.4619, allocations: 11.88 kB / 0.5538 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4619, allocations: 8 kB / 0.5538 GB, free: 8.023 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.776e-05/0.462, allocations: 29.86 kB / 0.5539 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.4621, allocations: 7.906 kB / 0.5539 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.4621, allocations: 12.09 kB / 0.5539 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4622, allocations: 3.984 kB / 0.5539 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4622, allocations: 0 / 0.5539 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4622, allocations: 0 / 0.5539 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.4625, allocations: 174 kB / 0.554 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4625, allocations: 0 / 0.554 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.4627, allocations: 19.92 kB / 0.5541 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.4629, allocations: 37.7 kB / 0.5541 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4629, allocations: 4 kB / 0.5541 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.4651, allocations: 2.418 MB / 0.5565 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4652, allocations: 3.938 kB / 0.5565 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004485/0.4656, allocations: 302.2 kB / 0.5568 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.4657, allocations: 89.11 kB / 0.5568 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.4657, allocations: 7.969 kB / 0.5568 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4659, allocations: 0 / 0.5568 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.466, allocations: 11.84 kB / 0.5569 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.466, allocations: 0 / 0.5569 GB, free: 4.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.225e-05/0.4661, allocations: 99.64 kB / 0.557 GB, free: 4.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004421/0.4665, allocations: 31.94 kB / 0.557 GB, free: 4.457 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.4667, allocations: 107.2 kB / 0.5571 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.4672, allocations: 259.5 kB / 0.5573 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4672, allocations: 0 / 0.5573 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.4676, allocations: 236 kB / 0.5576 GB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.468, allocations: 23.89 kB / 0.5576 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.469, allocations: 393.7 kB / 0.558 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/0.4694, allocations: 0.7347 MB / 0.5587 GB, free: 2.621 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4694, allocations: 0 / 0.5587 GB, free: 2.621 MB / 394.7 MB Notification: Performance of Templates: time 0.005847/0.4752, allocations: 2.462 MB / 0.5611 GB, free: 156 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches