Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 108.4 kB / 17.09 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 191.3 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2005/0.2005, allocations: 43.52 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01939/0.1228, allocations: 18.75 MB / 0.5069 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1344, allocations: 5.471 MB / 0.5122 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.1372, allocations: 119.7 kB / 0.5124 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.1481, allocations: 5.845 MB / 0.5181 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007441/0.1556, allocations: 3.058 MB / 0.5211 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.1584, allocations: 1.209 MB / 0.5222 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.1684, allocations: 7.486 MB / 0.5295 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2078/0.3763, allocations: 7.553 MB / 0.5369 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/0.3812, allocations: 2.934 MB / 0.5398 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006778/0.388, allocations: 4.02 MB / 0.5437 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002431/0.3905, allocations: 0.6673 MB / 0.5444 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006498/0.397, allocations: 1.539 MB / 0.5459 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006196/0.4032, allocations: 3.742 MB / 0.5495 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008257/0.4115, allocations: 4.223 MB / 0.5536 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.4268, allocations: 13.27 MB / 0.5666 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4269, allocations: 3.375 kB / 0.5666 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4269, allocations: 4 kB / 0.5666 GB, free: 13.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000363/0.4272, allocations: 0 / 0.5666 GB, free: 13.74 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01944/0.4467, allocations: 9.076 MB / 0.5755 GB, free: 7.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.4468, allocations: 18.23 kB / 0.5755 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.4596, allocations: 3.027 MB / 0.5784 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009371/0.469, allocations: 4.978 MB / 0.5833 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.4693, allocations: 454.6 kB / 0.5837 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.471, allocations: 0.5873 MB / 0.5843 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03375/0.5047, allocations: 18.5 MB / 0.6024 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003334/0.5051, allocations: 77.36 kB / 0.6024 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001639/0.5068, allocations: 280.8 kB / 0.6027 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006027/0.5128, allocations: 3.538 MB / 0.6062 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/0.5448, allocations: 15.69 MB / 0.6215 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09755/0.6424, allocations: 70 MB / 0.6899 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/0.6649, allocations: 8.432 MB / 0.6981 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007132/0.6721, allocations: 5.007 MB / 0.703 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02005/0.6921, allocations: 11.88 MB / 0.7146 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.6922, allocations: 75.81 kB / 0.7147 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=347): time 5.42e-06/0.6922, allocations: 0 / 0.7147 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=389): time 0.09817/0.7904, allocations: 39.45 MB / 0.7532 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.7905, allocations: 243.6 kB / 0.7534 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2507/1.041, allocations: 7.442 MB / 0.7607 GB, free: 201 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.042, allocations: 84.33 kB / 0.7608 GB, free: 201 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003358/1.046, allocations: 5.404 MB / 0.766 GB, free: 198.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.047, allocations: 1.518 MB / 0.7675 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003019/1.05, allocations: 2.095 MB / 0.7696 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/1.05, allocations: 304.1 kB / 0.7699 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007346/1.058, allocations: 4.467 MB / 0.7742 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009271/1.067, allocations: 10.09 MB / 0.7841 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/1.083, allocations: 15.64 MB / 0.7993 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001846/1.083, allocations: 62.41 kB / 0.7994 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.02478/1.108, allocations: 16.5 MB / 0.8155 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.108, allocations: 97.05 kB / 0.8156 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001574/1.108, allocations: 193.3 kB / 0.8158 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/1.113, allocations: 2.318 MB / 0.8181 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007057/1.12, allocations: 2.436 MB / 0.8204 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.136, allocations: 14.44 MB / 0.8345 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007506/1.143, allocations: 0.6003 MB / 0.8351 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/1.144, allocations: 0.5818 MB / 0.8357 GB, free: 150.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1261): * Single equations (assignments): 1254 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005645/1.15, allocations: 3.625 MB / 0.8392 GB, free: 147.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/1.152, allocations: 0.6732 MB / 0.8399 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.166, allocations: 9.196 MB / 0.8489 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-05/1.166, allocations: 15.94 kB / 0.8489 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.166, allocations: 4 kB / 0.8489 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003327/1.169, allocations: 1.371 MB / 0.8502 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/1.171, allocations: 64.88 kB / 0.8503 GB, free: 136.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003673/1.175, allocations: 269.3 kB / 0.8506 GB, free: 136.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006522/1.175, allocations: 248.4 kB / 0.8508 GB, free: 135.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01513/1.191, allocations: 9.3 MB / 0.8599 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01408/1.205, allocations: 12.26 MB / 0.8718 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003651/1.208, allocations: 3.368 MB / 0.8751 GB, free: 111 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008659/1.217, allocations: 4.742 MB / 0.8798 GB, free: 106.3 MB / 0.5919 GB Notification: Performance of Backend: time 6.81e-07/1.217, allocations: 0 / 0.8798 GB, free: 106.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01861/1.236, allocations: 8.079 MB / 0.8877 GB, free: 98.23 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02766/1.263, allocations: 16.82 MB / 0.9041 GB, free: 81.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.3717/1.635, allocations: 91.59 MB / 0.9935 GB, free: 191.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches