Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") [: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.00101/0.00101, allocations: 198.7 kB / 8.539 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.23/1.23, allocations: 225.5 MB / 234.4 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009249/0.0009248, allocations: 90.53 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 45.15 MB / 383.3 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.301e-06/6.321e-06, allocations: 0 / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.4787, allocations: 108.4 MB / 0.6096 GB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.4789, allocations: 75.84 kB / 0.6097 GB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6992/1.178, allocations: 160.2 MB / 0.7662 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004893/1.179, allocations: 161.6 kB / 0.7663 GB, free: 98.61 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02732/1.206, allocations: 8.134 MB / 0.7743 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.206, allocations: 10.84 kB / 0.7743 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0382/1.244, allocations: 9.27 MB / 0.7833 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02235/1.267, allocations: 8.237 MB / 0.7914 GB, free: 94.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004949/1.267, allocations: 269.1 kB / 0.7916 GB, free: 94.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003944/1.271, allocations: 494.8 kB / 0.7921 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02183/1.293, allocations: 11.65 MB / 0.8035 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/1.326, allocations: 17.43 MB / 0.8205 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004411/1.326, allocations: 105.1 kB / 0.8206 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/1.328, allocations: 48.19 kB / 0.8206 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/1.33, allocations: 1.908 MB / 0.8225 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.089/1.419, allocations: 81.63 MB / 0.9022 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007064/1.426, allocations: 7.106 MB / 0.9092 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004707/1.431, allocations: 5.096 MB / 0.9141 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01811/1.449, allocations: 12.72 MB / 0.9265 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/1.449, allocations: 68.47 kB / 0.9266 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=295): time 6.753e-06/1.449, allocations: 0 / 0.9266 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of matching and sorting (n=361): time 0.2893/1.739, allocations: 34.17 MB / 0.96 GB, free: 160.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/1.739, allocations: 274 kB / 0.9602 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008109/1.747, allocations: 5.155 MB / 0.9653 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/1.748, allocations: 28.55 kB / 0.9653 GB, free: 160.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.751, allocations: 5.052 MB / 0.9702 GB, free: 159 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001749/1.753, allocations: 1.31 MB / 0.9715 GB, free: 158.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006234/1.753, allocations: 0 / 0.9715 GB, free: 158.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004028/1.754, allocations: 0.7283 MB / 0.9722 GB, free: 158 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005216/1.759, allocations: 4.022 MB / 0.9762 GB, free: 157.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008445/1.767, allocations: 9.628 MB / 0.9856 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009269/1.777, allocations: 6.167 MB / 0.9916 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001952/1.777, allocations: 60.03 kB / 0.9916 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1284) (initialization): time 0.02812/1.805, allocations: 14.4 MB / 1.006 GB, free: 150.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.805, allocations: 3.812 kB / 1.006 GB, free: 150.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/1.805, allocations: 201.5 kB / 1.006 GB, free: 150.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005891/1.811, allocations: 2.332 MB / 1.008 GB, free: 150.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008884/1.82, allocations: 2.274 MB / 1.01 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01934/1.84, allocations: 15.45 MB / 1.025 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009577/1.849, allocations: 322.9 kB / 1.026 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002695/1.852, allocations: 0.5858 MB / 1.026 GB, free: 145.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 909 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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 (1188): * Single equations (assignments): 1182 * 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 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003483/1.855, allocations: 0.6138 MB / 1.027 GB, free: 145.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.857, allocations: 0.5644 MB / 1.028 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.874, allocations: 8.366 MB / 1.036 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001416/1.874, allocations: 32.81 kB / 1.036 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.668e-05/1.874, allocations: 13.75 kB / 1.036 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/1.874, allocations: 19.03 kB / 1.036 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05338/1.927, allocations: 17.1 MB / 1.052 GB, free: 137.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-05/1.927, allocations: 0 / 1.052 GB, free: 137.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005589/1.933, allocations: 0.583 MB / 1.053 GB, free: 137.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008417/1.942, allocations: 1.969 MB / 1.055 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/1.943, allocations: 16.69 kB / 1.055 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/1.97, allocations: 14.42 MB / 1.069 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.97, allocations: 4 kB / 1.069 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01855/1.988, allocations: 13.53 MB / 1.082 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/1.99, allocations: 0.5753 MB / 1.083 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/1.992, allocations: 6.156 kB / 1.083 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003126/1.995, allocations: 147.5 kB / 1.083 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004733/1.996, allocations: 167.2 kB / 1.083 GB, free: 116 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.996, allocations: 91.91 kB / 1.083 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.007195/2.003, allocations: 3.487 MB / 1.087 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01123/2.014, allocations: 1.683 MB / 1.088 GB, free: 111.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(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.0008726/2.015, allocations: 163.4 kB / 1.088 GB, free: 111 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01625/2.032, allocations: 10.16 MB / 1.098 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/2.032, allocations: 3.047 kB / 1.098 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006453/2.038, allocations: 4.163 MB / 1.102 GB, free: 98.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/2.042, allocations: 0.6871 MB / 1.103 GB, free: 97.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03157/2.074, allocations: 15.78 MB / 1.118 GB, free: 83.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0102/2.084, allocations: 6.358 MB / 1.125 GB, free: 78.75 MB / 0.5417 GB Notification: Performance of SimCode: time 1.473e-06/2.084, allocations: 0 / 1.125 GB, free: 78.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.3596/2.444, allocations: 75.99 MB / 1.199 GB, free: 132 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches