Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009296/0.0009297, allocations: 188.8 kB / 7.804 MB, free: 2.445 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.096/1.096, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008148/0.0008147, allocations: 92.7 kB / 261.4 MB, free: 13.52 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.1657/0.1657, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.29e-06/5.32e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2533, allocations: 58.83 MB / 476.5 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09968/0.353, allocations: 83.83 MB / 0.5472 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001569/0.3532, allocations: 67.95 kB / 0.5473 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.004652/0.3579, allocations: 1.701 MB / 0.549 GB, free: 13.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3579, allocations: 0 / 0.549 GB, free: 13.35 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.0003224/0.3582, allocations: 366.4 kB / 0.5493 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.594e-05/0.3583, allocations: 16.03 kB / 0.5493 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.3583, allocations: 15.8 kB / 0.5493 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3584, allocations: 178.9 kB / 0.5495 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3585, allocations: 4 kB / 0.5495 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3585, allocations: 11.91 kB / 0.5495 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.903e-05/0.3586, allocations: 44.45 kB / 0.5496 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3587, allocations: 114.2 kB / 0.5497 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3588, allocations: 3.938 kB / 0.5497 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.3588, allocations: 3.938 kB / 0.5497 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3588, allocations: 8 kB / 0.5497 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.3594, allocations: 0.5064 MB / 0.5502 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.521e-05/0.3595, allocations: 63.52 kB / 0.5503 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.3596, allocations: 25.66 kB / 0.5503 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.3596, allocations: 7.984 kB / 0.5503 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3596, allocations: 34.56 kB / 0.5503 GB, free: 11.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3596, allocations: 0 / 0.5503 GB, free: 11.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000236/0.3599, allocations: 95.39 kB / 0.5504 GB, free: 11.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.3599, allocations: 81.05 kB / 0.5505 GB, free: 11.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.36, allocations: 124.8 kB / 0.5506 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.36, allocations: 25.7 kB / 0.5506 GB, free: 11.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.36, allocations: 107.8 kB / 0.5507 GB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.3601, allocations: 39.06 kB / 0.5508 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.3601, allocations: 0 / 0.5508 GB, free: 11.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.3602, allocations: 326.8 kB / 0.5511 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.3602, allocations: 16 kB / 0.5511 GB, free: 10.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.3603, allocations: 72.59 kB / 0.5512 GB, free: 10.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.3603, allocations: 39.92 kB / 0.5512 GB, free: 10.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3603, allocations: 0 / 0.5512 GB, free: 10.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002432/0.3606, allocations: 143.3 kB / 0.5513 GB, free: 10.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.3606, allocations: 10.8 kB / 0.5514 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3606, allocations: 4 kB / 0.5514 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.3607, allocations: 33.66 kB / 0.5514 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.3608, allocations: 23.98 kB / 0.5514 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.3624, allocations: 2.418 MB / 0.5538 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.3624, allocations: 11.88 kB / 0.5538 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3625, allocations: 8 kB / 0.5538 GB, free: 7.902 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 6.557e-05/0.3625, allocations: 109 kB / 0.5539 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.3626, allocations: 7.906 kB / 0.5539 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.3626, allocations: 19.89 kB / 0.5539 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3626, allocations: 0 / 0.5539 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3626, allocations: 0 / 0.5539 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3626, allocations: 0 / 0.5539 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.3628, allocations: 174.1 kB / 0.5541 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3628, allocations: 0 / 0.5541 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.3629, allocations: 19.98 kB / 0.5541 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.579e-05/0.363, allocations: 33.62 kB / 0.5541 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3631, allocations: 4 kB / 0.5541 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.3646, allocations: 2.422 MB / 0.5565 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3646, allocations: 7.844 kB / 0.5565 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002479/0.3648, allocations: 306 kB / 0.5568 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.3649, allocations: 81.11 kB / 0.5569 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.3649, allocations: 8 kB / 0.5569 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.365, allocations: 3.172 kB / 0.5569 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.365, allocations: 7.984 kB / 0.5569 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.365, allocations: 4 kB / 0.5569 GB, free: 4.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.895e-05/0.3651, allocations: 87.28 kB / 0.557 GB, free: 4.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.3654, allocations: 35.84 kB / 0.557 GB, free: 4.262 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.0001033/0.3655, allocations: 103.2 kB / 0.5571 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.3658, allocations: 271.5 kB / 0.5574 GB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3658, allocations: 0 / 0.5574 GB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.366, allocations: 231.5 kB / 0.5576 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.3663, allocations: 27.98 kB / 0.5576 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.3668, allocations: 371.9 kB / 0.558 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.3671, allocations: 0.7153 MB / 0.5587 GB, free: 2.469 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3671, allocations: 4 kB / 0.5587 GB, free: 2.465 MB / 394.7 MB Notification: Performance of Templates: time 0.003073/0.3702, allocations: 1.417 MB / 0.5601 GB, free: 1.047 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches