Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [: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 trunk/package.mo): time 0.00143/0.00143, allocations: 198.8 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008852/0.0008851, allocations: 92.34 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1672/0.1672, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/6.011e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09304, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/0.3648, allocations: 103.1 MB / 0.6045 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3651, allocations: 78.2 kB / 0.6045 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1252/0.4902, allocations: 53.16 MB / 0.6565 GB, free: 2.832 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.609e-05/0.4904, allocations: 48 kB / 0.6565 GB, free: 2.785 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005508/0.4959, allocations: 2.528 MB / 0.659 GB, free: 424 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.496, allocations: 8.031 kB / 0.659 GB, free: 416 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006892/0.5029, allocations: 1.47 MB / 0.6604 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.5069, allocations: 1.669 MB / 0.662 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.5071, allocations: 96 kB / 0.6621 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009421/0.508, allocations: 152 kB / 0.6623 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007108/0.5152, allocations: 4.222 MB / 0.6664 GB, free: 9.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00901/0.5242, allocations: 5.845 MB / 0.6721 GB, free: 2.832 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.5243, allocations: 11.88 kB / 0.6721 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/0.5246, allocations: 12 kB / 0.6721 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007313/0.5253, allocations: 0.6729 MB / 0.6728 GB, free: 2.133 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02462/0.55, allocations: 22.23 MB / 0.6945 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.5516, allocations: 1.379 MB / 0.6959 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.5522, allocations: 0.4989 MB / 0.6963 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.5522, allocations: 16.55 kB / 0.6964 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5523, allocations: 39.22 kB / 0.6964 GB, free: 9.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.236e-06/0.5523, allocations: 3.938 kB / 0.6964 GB, free: 9.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.002944/0.5552, allocations: 1.39 MB / 0.6978 GB, free: 7.672 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.5553, allocations: 68.05 kB / 0.6978 GB, free: 7.594 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.5572, allocations: 1.6 MB / 0.6994 GB, free: 5.992 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.5573, allocations: 25.7 kB / 0.6994 GB, free: 5.961 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009466/0.5582, allocations: 1.82 MB / 0.7012 GB, free: 4.109 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.5585, allocations: 339.6 kB / 0.7015 GB, free: 3.773 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.5586, allocations: 3.938 kB / 0.7015 GB, free: 3.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.5588, allocations: 0.4937 MB / 0.702 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.5599, allocations: 0.8574 MB / 0.7028 GB, free: 2.406 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.5621, allocations: 2.875 MB / 0.7056 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.5641, allocations: 1.63 MB / 0.7072 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/0.5641, allocations: 20 kB / 0.7072 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.00466/0.5688, allocations: 3.257 MB / 0.7104 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5688, allocations: 4.938 kB / 0.7104 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.558e-05/0.5689, allocations: 79.98 kB / 0.7105 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.827e-05/0.569, allocations: 104 kB / 0.7106 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.571, allocations: 0.7134 MB / 0.7113 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.681e-05/0.5712, allocations: 151.3 kB / 0.7114 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.5732, allocations: 351.7 kB / 0.7118 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.5734, allocations: 200 kB / 0.712 GB, free: 8.004 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * Array equations: 3 * 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 0.0003479/0.5738, allocations: 289.7 kB / 0.7123 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.574, allocations: 157.9 kB / 0.7124 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.5757, allocations: 1.174 MB / 0.7135 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.5757, allocations: 4 kB / 0.7136 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5758, allocations: 7.906 kB / 0.7136 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5758, allocations: 8.125 kB / 0.7136 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005692/0.5815, allocations: 3.907 MB / 0.7174 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.5815, allocations: 8.125 kB / 0.7174 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.582, allocations: 115.8 kB / 0.7175 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.5821, allocations: 12 kB / 0.7175 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.5821, allocations: 15.98 kB / 0.7175 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.5821, allocations: 11.94 kB / 0.7175 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.567e-06/0.5821, allocations: 11.94 kB / 0.7176 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00173/0.5839, allocations: 1.837 MB / 0.7193 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.5842, allocations: 230.8 kB / 0.7196 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.5844, allocations: 11.94 kB / 0.7196 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.5849, allocations: 19.89 kB / 0.7196 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.585, allocations: 55.84 kB / 0.7196 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/0.5851, allocations: 28 kB / 0.7197 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001421/0.5865, allocations: 1.081 MB / 0.7207 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002462/0.589, allocations: 0.6568 MB / 0.7214 GB, free: 13.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 3 * 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.0003372/0.5893, allocations: 138.9 kB / 0.7215 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.5921, allocations: 2.036 MB / 0.7235 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.5921, allocations: 4 kB / 0.7235 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006311/0.5927, allocations: 0.5222 MB / 0.724 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.5936, allocations: 183.8 kB / 0.7242 GB, free: 11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007991/0.6016, allocations: 4.357 MB / 0.7284 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002879/0.6045, allocations: 2.53 MB / 0.7309 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/0.6046, allocations: 0 / 0.7309 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.02948/0.634, allocations: 14.42 MB / 0.745 GB, free: 5.523 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches