Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") [: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.0008593/0.0008593, allocations: 184.3 kB / 7.801 MB, free: 2.125 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.012/1.012, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008008/0.0008008, allocations: 94.47 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.1504/0.1504, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.671e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 58.83 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.3172, allocations: 105.2 MB / 0.5681 GB, free: 9.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.3174, allocations: 79.95 kB / 0.5682 GB, free: 9.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4598/0.7772, allocations: 139.1 MB / 0.704 GB, free: 97.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003652/0.7776, allocations: 140.3 kB / 0.7041 GB, free: 97.27 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.01891/0.7965, allocations: 6.779 MB / 0.7107 GB, free: 92.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.7966, allocations: 7.781 kB / 0.7107 GB, free: 92.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03343/0.83, allocations: 9.13 MB / 0.7196 GB, free: 86.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/0.8503, allocations: 8.946 MB / 0.7284 GB, free: 77.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/0.8506, allocations: 232 kB / 0.7286 GB, free: 76.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002625/0.8533, allocations: 431.8 kB / 0.729 GB, free: 76.53 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01481/0.8681, allocations: 9.767 MB / 0.7385 GB, free: 66.76 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02299/0.8911, allocations: 14.93 MB / 0.7531 GB, free: 50.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002709/0.8914, allocations: 103 kB / 0.7532 GB, free: 50.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00109/0.8925, allocations: 51.88 kB / 0.7533 GB, free: 50.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001482/0.894, allocations: 1.643 MB / 0.7549 GB, free: 48.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06208/0.9561, allocations: 71.2 MB / 0.8244 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005963/0.9621, allocations: 5.063 MB / 0.8293 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1296/1.092, allocations: 3.42 MB / 0.8327 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/1.105, allocations: 9.799 MB / 0.8423 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.105, allocations: 64.03 kB / 0.8423 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 4.578e-06/1.105, allocations: 0 / 0.8423 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=263): time 0.03584/1.141, allocations: 23.32 MB / 0.8651 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.141, allocations: 259.8 kB / 0.8653 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005893/1.147, allocations: 5.008 MB / 0.8702 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002812/1.147, allocations: 25.7 kB / 0.8703 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.149, allocations: 4.641 MB / 0.8748 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006993/1.149, allocations: 0.9935 MB / 0.8758 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/1.15, allocations: 3.125 kB / 0.8758 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003097/1.15, allocations: 0.6838 MB / 0.8764 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/1.153, allocations: 2.862 MB / 0.8792 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004592/1.158, allocations: 8.331 MB / 0.8874 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004604/1.162, allocations: 4.862 MB / 0.8921 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.764e-05/1.162, allocations: 60.62 kB / 0.8922 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.01608/1.178, allocations: 10.51 MB / 0.9024 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.178, allocations: 7.031 kB / 0.9024 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004058/1.179, allocations: 198.6 kB / 0.9026 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/1.181, allocations: 0.8425 MB / 0.9034 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007419/1.189, allocations: 2.047 MB / 0.9054 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007386/1.196, allocations: 8.061 MB / 0.9133 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006804/1.203, allocations: 286.1 kB / 0.9136 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.205, allocations: 0.5376 MB / 0.9141 GB, free: 136.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1097): * Single equations (assignments): 1091 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001309/1.206, allocations: 0.5841 MB / 0.9147 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.207, allocations: 0.5222 MB / 0.9152 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006041/1.213, allocations: 4.352 MB / 0.9194 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/1.213, allocations: 24 kB / 0.9195 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.213, allocations: 11.94 kB / 0.9195 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/1.213, allocations: 18.5 kB / 0.9195 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/1.229, allocations: 10.15 MB / 0.9294 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.229, allocations: 0 / 0.9294 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/1.231, allocations: 418.6 kB / 0.9298 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/1.232, allocations: 0.5258 MB / 0.9303 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/1.232, allocations: 14.53 kB / 0.9303 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005749/1.238, allocations: 7.141 MB / 0.9373 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.238, allocations: 0 / 0.9373 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008297/1.246, allocations: 7.814 MB / 0.9449 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/1.249, allocations: 0.8924 MB / 0.9458 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007796/1.25, allocations: 6.938 kB / 0.9458 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.252, allocations: 84.88 kB / 0.9459 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/1.252, allocations: 128.7 kB / 0.946 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.252, allocations: 70.72 kB / 0.9461 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004404/1.257, allocations: 3.402 MB / 0.9494 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007058/1.264, allocations: 1.335 MB / 0.9507 GB, free: 103.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/1.264, allocations: 157.1 kB / 0.9509 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008174/1.272, allocations: 7.087 MB / 0.9578 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.272, allocations: 4 kB / 0.9578 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/1.275, allocations: 2.391 MB / 0.9601 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/1.278, allocations: 0.6009 MB / 0.9607 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.298, allocations: 12.37 MB / 0.9728 GB, free: 83.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006651/1.305, allocations: 5.627 MB / 0.9783 GB, free: 79.12 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/1.305, allocations: 0 / 0.9783 GB, free: 79.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.08415/1.389, allocations: 55.13 MB / 1.032 GB, free: 28.44 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches