Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") [: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.0009282/0.0009283, allocations: 183.6 kB / 7.803 MB, free: 2.496 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.002/1.002, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008082/0.0008082, allocations: 89.28 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.1478/0.1478, allocations: 43.5 MB / 352.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.19e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2086, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.3295, allocations: 106.8 MB / 0.5697 GB, free: 8.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.3298, allocations: 71.95 kB / 0.5698 GB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4325/0.7623, allocations: 128.2 MB / 0.695 GB, free: 85.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002583/0.7626, allocations: 137.3 kB / 0.6951 GB, free: 85.13 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01579/0.7784, allocations: 6.626 MB / 0.7016 GB, free: 81.33 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7785, allocations: 12.5 kB / 0.7016 GB, free: 81.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0254/0.8039, allocations: 6.766 MB / 0.7082 GB, free: 76.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/0.8201, allocations: 7.539 MB / 0.7155 GB, free: 70.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.8204, allocations: 220 kB / 0.7158 GB, free: 70.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/0.823, allocations: 391.7 kB / 0.7161 GB, free: 70.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01367/0.8367, allocations: 9.542 MB / 0.7254 GB, free: 63.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/0.8554, allocations: 14.62 MB / 0.7397 GB, free: 49.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.8556, allocations: 95.11 kB / 0.7398 GB, free: 49.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006879/0.8563, allocations: 44 kB / 0.7399 GB, free: 49.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001462/0.8578, allocations: 1.65 MB / 0.7415 GB, free: 47.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06314/0.9209, allocations: 71.12 MB / 0.8109 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006342/0.9273, allocations: 5.534 MB / 0.8163 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003933/0.9313, allocations: 3.827 MB / 0.8201 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01481/0.9461, allocations: 10.12 MB / 0.8299 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.9462, allocations: 68.28 kB / 0.83 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=254): time 5.58e-06/0.9462, allocations: 0 / 0.83 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=298): time 0.1734/1.12, allocations: 25.62 MB / 0.855 GB, free: 183 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/1.12, allocations: 241.7 kB / 0.8553 GB, free: 182.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005392/1.125, allocations: 4.91 MB / 0.8601 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000288/1.125, allocations: 29.08 kB / 0.8601 GB, free: 182.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.127, allocations: 4.525 MB / 0.8645 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000731/1.128, allocations: 1.113 MB / 0.8656 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/1.128, allocations: 0 / 0.8656 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003228/1.128, allocations: 0.6992 MB / 0.8663 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/1.132, allocations: 3.494 MB / 0.8697 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005391/1.138, allocations: 8.959 MB / 0.8784 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005374/1.143, allocations: 5.565 MB / 0.8839 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.138e-05/1.143, allocations: 55.16 kB / 0.8839 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.01658/1.16, allocations: 12.54 MB / 0.8962 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.16, allocations: 5.594 kB / 0.8962 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.16, allocations: 194.4 kB / 0.8964 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003712/1.164, allocations: 1.631 MB / 0.898 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006805/1.17, allocations: 2.158 MB / 0.9001 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/1.181, allocations: 10.28 MB / 0.9101 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007221/1.188, allocations: 313.8 kB / 0.9104 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.19, allocations: 0.5539 MB / 0.9109 GB, free: 159.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 889 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1145): * Single equations (assignments): 1140 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001286/1.191, allocations: 0.5973 MB / 0.9115 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009415/1.192, allocations: 0.5038 MB / 0.912 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009479/1.202, allocations: 6.356 MB / 0.9182 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-05/1.202, allocations: 31.91 kB / 0.9182 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.202, allocations: 8 kB / 0.9183 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/1.202, allocations: 18.48 kB / 0.9183 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.22, allocations: 13.24 MB / 0.9312 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.22, allocations: 4 kB / 0.9312 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.223, allocations: 481.9 kB / 0.9317 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/1.226, allocations: 1.308 MB / 0.9329 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/1.226, allocations: 12 kB / 0.933 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/1.236, allocations: 9.611 MB / 0.9423 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.236, allocations: 6.984 kB / 0.9424 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01255/1.249, allocations: 10.69 MB / 0.9528 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/1.251, allocations: 1.016 MB / 0.9538 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007399/1.252, allocations: 8 kB / 0.9538 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/1.254, allocations: 109.7 kB / 0.9539 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.254, allocations: 134.3 kB / 0.954 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/1.255, allocations: 79.8 kB / 0.9541 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003751/1.258, allocations: 3.314 MB / 0.9573 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006032/1.264, allocations: 1.413 MB / 0.9587 GB, free: 119 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 236 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004388/1.265, allocations: 148 kB / 0.9589 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.275, allocations: 8.547 MB / 0.9672 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.275, allocations: 4.375 kB / 0.9672 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004178/1.28, allocations: 3.207 MB / 0.9703 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.282, allocations: 0.513 MB / 0.9708 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/1.303, allocations: 13.06 MB / 0.9836 GB, free: 95.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005685/1.309, allocations: 5.442 MB / 0.9889 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/1.309, allocations: 0 / 0.9889 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.2278/1.537, allocations: 62.72 MB / 1.05 GB, free: 170 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches