Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [: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.0008991/0.0008991, allocations: 192.2 kB / 7.804 MB, free: 2.488 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.095/1.095, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008585/0.0008584, allocations: 87.44 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.1635/0.1635, allocations: 43.49 MB / 352.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.358e-06/4.398e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3498, allocations: 86.16 MB / 0.5495 GB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001481/0.35, allocations: 67.97 kB / 0.5496 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01515/0.3651, allocations: 5.919 MB / 0.5554 GB, free: 6.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3652, allocations: 8 kB / 0.5554 GB, free: 6.734 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007551/0.366, allocations: 0.5882 MB / 0.556 GB, free: 6.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.366, allocations: 8.031 kB / 0.556 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.3661, allocations: 47.42 kB / 0.556 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3664, allocations: 275.3 kB / 0.5563 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3664, allocations: 15.98 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.3664, allocations: 27.94 kB / 0.5563 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003391/0.3668, allocations: 197.5 kB / 0.5565 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.3672, allocations: 306.3 kB / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3673, allocations: 0 / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.3673, allocations: 0 / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.3673, allocations: 12 kB / 0.5568 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3686, allocations: 1.011 MB / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3689, allocations: 236.9 kB / 0.558 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.3691, allocations: 147.3 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3691, allocations: 8 kB / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3691, allocations: 38.56 kB / 0.5582 GB, free: 3.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 1.423e-06/0.3691, allocations: 4 kB / 0.5582 GB, free: 3.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.002768/0.3719, allocations: 2.112 MB / 0.5603 GB, free: 1.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3719, allocations: 110 kB / 0.5604 GB, free: 1.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3721, allocations: 158 kB / 0.5605 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3721, allocations: 25.7 kB / 0.5605 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.3722, allocations: 173.1 kB / 0.5607 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.3723, allocations: 189.1 kB / 0.5609 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.3724, allocations: 0 / 0.5609 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3725, allocations: 350.8 kB / 0.5612 GB, free: 244 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.3727, allocations: 97.31 kB / 0.5613 GB, free: 148 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.3729, allocations: 199.5 kB / 0.5615 GB, free: 15.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.3731, allocations: 139.9 kB / 0.5616 GB, free: 15.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3731, allocations: 0 / 0.5616 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007393/0.3739, allocations: 467.5 kB / 0.5621 GB, free: 15.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.3739, allocations: 8 kB / 0.5621 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3739, allocations: 4 kB / 0.5621 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.3742, allocations: 122.6 kB / 0.5622 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.3746, allocations: 99.88 kB / 0.5623 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.378, allocations: 4.434 MB / 0.5666 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.3782, allocations: 8 kB / 0.5667 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.3783, allocations: 24.05 kB / 0.5667 GB, free: 10.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.3784, allocations: 122.4 kB / 0.5668 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.3785, allocations: 35.62 kB / 0.5668 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.3785, allocations: 33.59 kB / 0.5669 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3786, allocations: 8 kB / 0.5669 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3786, allocations: 11.92 kB / 0.5669 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3786, allocations: 0 / 0.5669 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.3801, allocations: 1.188 MB / 0.568 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3802, allocations: 3.906 kB / 0.568 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.3806, allocations: 103.9 kB / 0.5681 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/0.3809, allocations: 94.56 kB / 0.5682 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3809, allocations: 11.92 kB / 0.5682 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.3834, allocations: 3.905 MB / 0.5721 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3834, allocations: 4.031 kB / 0.5721 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009229/0.3843, allocations: 0.8829 MB / 0.5729 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.3844, allocations: 108.7 kB / 0.573 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.3845, allocations: 4 kB / 0.573 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.3847, allocations: 15.98 kB / 0.573 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3848, allocations: 31.86 kB / 0.5731 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.3848, allocations: 16 kB / 0.5731 GB, free: 3.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.45e-05/0.3849, allocations: 128.4 kB / 0.5732 GB, free: 3.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005434/0.3854, allocations: 92 kB / 0.5733 GB, free: 2.957 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001106/0.3856, allocations: 107.2 kB / 0.5734 GB, free: 2.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00078/0.3863, allocations: 0.6373 MB / 0.574 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3864, allocations: 4 kB / 0.574 GB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006592/0.387, allocations: 0.4933 MB / 0.5745 GB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3874, allocations: 34.03 kB / 0.5745 GB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.3887, allocations: 0.899 MB / 0.5754 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.3891, allocations: 0.8536 MB / 0.5763 GB, free: 15.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3891, allocations: 0 / 0.5763 GB, free: 15.79 MB / 426.7 MB Notification: Performance of Templates: time 0.007238/0.3964, allocations: 4.365 MB / 0.5805 GB, free: 11.43 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches