Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.00121/0.00121, allocations: 180.2 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3105, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01562/0.3262, allocations: 15.72 MB / 0.5349 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3371, allocations: 5.086 MB / 0.5399 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.3403, allocations: 108.8 kB / 0.54 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009201/0.3495, allocations: 5.035 MB / 0.5449 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007178/0.3567, allocations: 2.598 MB / 0.5475 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.3599, allocations: 1.247 MB / 0.5487 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01125/0.3712, allocations: 7.9 MB / 0.5564 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007159/0.3784, allocations: 6.016 MB / 0.5623 GB, free: 136 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.3831, allocations: 2.566 MB / 0.5648 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005274/0.3885, allocations: 3.493 MB / 0.5682 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.3902, allocations: 0.5469 MB / 0.5687 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.394, allocations: 1.576 MB / 0.5702 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003997/0.3981, allocations: 3.262 MB / 0.5734 GB, free: 4.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007299/0.4054, allocations: 3.57 MB / 0.5769 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.4201, allocations: 11.16 MB / 0.5878 GB, free: 5.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.091e-05/0.4201, allocations: 8 kB / 0.5878 GB, free: 5.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4201, allocations: 0 / 0.5878 GB, free: 5.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003982/0.4205, allocations: 0 / 0.5878 GB, free: 5.863 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02019/0.4407, allocations: 7.663 MB / 0.5953 GB, free: 14.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4408, allocations: 8.031 kB / 0.5953 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/0.4558, allocations: 3.112 MB / 0.5984 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.4675, allocations: 4.95 MB / 0.6032 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.4679, allocations: 369.9 kB / 0.6035 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/0.4696, allocations: 0.4996 MB / 0.604 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02803/0.4977, allocations: 14.82 MB / 0.6185 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002856/0.498, allocations: 71.3 kB / 0.6186 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001143/0.4992, allocations: 239.8 kB / 0.6188 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004628/0.5038, allocations: 2.715 MB / 0.6214 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/0.5284, allocations: 12.25 MB / 0.6334 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07233/0.6007, allocations: 56.92 MB / 0.689 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.6127, allocations: 4.699 MB / 0.6936 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/0.6167, allocations: 2.963 MB / 0.6965 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.6169, allocations: 36.73 kB / 0.6965 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.6169, allocations: 55.5 kB / 0.6966 GB, free: 3.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=190): time 5.35e-06/0.6169, allocations: 0 / 0.6966 GB, free: 3.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.3252/0.9422, allocations: 23.41 MB / 0.7194 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/0.9423, allocations: 252.9 kB / 0.7197 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/0.9535, allocations: 6.778 MB / 0.7263 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005235/0.954, allocations: 57.48 kB / 0.7263 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002906/0.9569, allocations: 4.598 MB / 0.7308 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.958, allocations: 0.8366 MB / 0.7316 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002458/0.9605, allocations: 1.683 MB / 0.7333 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.9605, allocations: 301.1 kB / 0.7336 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004083/0.9646, allocations: 2.905 MB / 0.7364 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/0.97, allocations: 7.858 MB / 0.7441 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009391/0.9795, allocations: 11.52 MB / 0.7553 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/0.9796, allocations: 58.84 kB / 0.7554 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.01919/0.9988, allocations: 11.97 MB / 0.7671 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.814e-05/0.999, allocations: 83.94 kB / 0.7672 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/0.9991, allocations: 176 kB / 0.7673 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003967/1.003, allocations: 1.764 MB / 0.7691 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006191/1.009, allocations: 1.926 MB / 0.7709 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/1.021, allocations: 12.41 MB / 0.783 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007502/1.028, allocations: 459 kB / 0.7835 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.03, allocations: 496 kB / 0.784 GB, free: 114.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1003): * Single equations (assignments): 997 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004998/1.035, allocations: 3.053 MB / 0.7869 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.036, allocations: 0.5437 MB / 0.7875 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007408/1.044, allocations: 4.842 MB / 0.7922 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/1.044, allocations: 24 kB / 0.7922 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/1.044, allocations: 11.94 kB / 0.7922 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/1.044, allocations: 11.91 kB / 0.7922 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/1.064, allocations: 11.21 MB / 0.8032 GB, free: 94.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.064, allocations: 4 kB / 0.8032 GB, free: 94.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.066, allocations: 391.4 kB / 0.8036 GB, free: 94.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003527/1.069, allocations: 1.472 MB / 0.805 GB, free: 92.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003492/1.07, allocations: 39.92 kB / 0.805 GB, free: 92.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/1.08, allocations: 11.48 MB / 0.8163 GB, free: 80.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.08, allocations: 8.094 kB / 0.8163 GB, free: 80.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.091, allocations: 7.925 MB / 0.824 GB, free: 72.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/1.093, allocations: 0.6189 MB / 0.8246 GB, free: 72.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/1.095, allocations: 35.94 kB / 0.8246 GB, free: 72.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/1.097, allocations: 135.8 kB / 0.8248 GB, free: 72.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004091/1.098, allocations: 125.2 kB / 0.8249 GB, free: 71.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.098, allocations: 48 kB / 0.8249 GB, free: 71.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006218/1.104, allocations: 4.321 MB / 0.8292 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/1.104, allocations: 0 / 0.8292 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007975/1.112, allocations: 1.497 MB / 0.8306 GB, free: 66.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006069/1.113, allocations: 174.1 kB / 0.8308 GB, free: 65.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.123, allocations: 7.11 MB / 0.8377 GB, free: 58.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.123, allocations: 128 / 0.8377 GB, free: 58.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/1.126, allocations: 2.268 MB / 0.8399 GB, free: 56.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/1.131, allocations: 0.7794 MB / 0.8407 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.152, allocations: 14.45 MB / 0.8548 GB, free: 41.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005035/1.157, allocations: 4.599 MB / 0.8593 GB, free: 36.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.158, allocations: 415.4 kB / 0.8597 GB, free: 36.23 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/1.158, allocations: 0 / 0.8597 GB, free: 36.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.4588/1.617, allocations: 170.2 MB / 1.026 GB, free: 150.7 MB / 0.6231 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches