Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.WorldForces2,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.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_3.2.3_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.001669/0.001669, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001734/0.001734, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.422/1.422, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2082/0.2082, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001501/0.001501, allocations: 66.14 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1364, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01638/0.1528, allocations: 16.95 MB / 457.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.1655, allocations: 5.296 MB / 462.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/0.1697, allocations: 111.7 kB / 462.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.1801, allocations: 5.07 MB / 467.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.1903, allocations: 2.766 MB / 470.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.195, allocations: 1.24 MB / 471.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.21, allocations: 7.73 MB / 479.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.2213, allocations: 6.175 MB / 485.9 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006136/0.2275, allocations: 2.687 MB / 488.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006104/0.2336, allocations: 3.746 MB / 492.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002649/0.2363, allocations: 0.5898 MB / 492.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.241, allocations: 1.596 MB / 494.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00478/0.2458, allocations: 3.413 MB / 497.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008712/0.2545, allocations: 3.807 MB / 0.4899 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02115/0.2757, allocations: 11.56 MB / 0.5012 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.2758, allocations: 4 kB / 0.5012 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.2758, allocations: 0 / 0.5012 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000831/0.2767, allocations: 0 / 0.5012 GB, free: 13.85 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.0294/0.3061, allocations: 8.055 MB / 0.5091 GB, free: 5.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3062, allocations: 11.97 kB / 0.5091 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.3237, allocations: 3.178 MB / 0.5122 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.3381, allocations: 5.15 MB / 0.5172 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005692/0.3387, allocations: 390.4 kB / 0.5176 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00299/0.3417, allocations: 0.5231 MB / 0.5181 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4014/0.7432, allocations: 15.77 MB / 0.5335 GB, free: 77.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003275/0.7435, allocations: 75.86 kB / 0.5336 GB, free: 77.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/0.7447, allocations: 246 kB / 0.5338 GB, free: 77.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006515/0.7512, allocations: 2.934 MB / 0.5367 GB, free: 77.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03545/0.7867, allocations: 13.16 MB / 0.5495 GB, free: 73.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08075/0.8675, allocations: 60.37 MB / 0.6085 GB, free: 16.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.8812, allocations: 6.09 MB / 0.6145 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00438/0.8857, allocations: 3.38 MB / 0.6178 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.8859, allocations: 49 kB / 0.6178 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.886, allocations: 60.12 kB / 0.6179 GB, free: 7.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 7.544e-06/0.886, allocations: 0 / 0.6179 GB, free: 7.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=260): time 0.07008/0.9561, allocations: 25.88 MB / 0.6431 GB, free: 13.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.9563, allocations: 257.2 kB / 0.6434 GB, free: 12.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/0.968, allocations: 6.977 MB / 0.6502 GB, free: 5.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009327/0.969, allocations: 61.7 kB / 0.6502 GB, free: 5.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004324/0.9733, allocations: 4.803 MB / 0.6549 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002523/0.9759, allocations: 1.011 MB / 0.6559 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002819/0.9787, allocations: 1.8 MB / 0.6577 GB, free: 14.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.9788, allocations: 305.1 kB / 0.658 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00557/0.9844, allocations: 3.316 MB / 0.6612 GB, free: 10.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/0.9952, allocations: 8.482 MB / 0.6695 GB, free: 15.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01836/1.014, allocations: 12.64 MB / 0.6818 GB, free: 256 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002269/1.014, allocations: 56 kB / 0.6819 GB, free: 200 kB / 478.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.03193/1.046, allocations: 13.08 MB / 0.6947 GB, free: 3.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006336/1.047, allocations: 83.94 kB / 0.6947 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006537/1.047, allocations: 184 kB / 0.6949 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006841/1.054, allocations: 1.781 MB / 0.6967 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009311/1.063, allocations: 2.109 MB / 0.6987 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/1.082, allocations: 12.45 MB / 0.7109 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009627/1.091, allocations: 491.2 kB / 0.7113 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002491/1.094, allocations: 0.5117 MB / 0.7118 GB, free: 1.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (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 (1087): * Single equations (assignments): 1081 * 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.009059/1.103, allocations: 3.214 MB / 0.715 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002279/1.105, allocations: 0.5746 MB / 0.7155 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.12, allocations: 5.806 MB / 0.7212 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.87e-05/1.12, allocations: 35.98 kB / 0.7213 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.192e-05/1.12, allocations: 11.98 kB / 0.7213 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/1.121, allocations: 7.969 kB / 0.7213 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3662/1.487, allocations: 12.92 MB / 0.7339 GB, free: 168.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/1.487, allocations: 1.188 kB / 0.7339 GB, free: 168.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/1.489, allocations: 0.5118 MB / 0.7344 GB, free: 168.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004762/1.494, allocations: 1.48 MB / 0.7358 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003455/1.495, allocations: 46.69 kB / 0.7359 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/1.509, allocations: 11.49 MB / 0.7471 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.509, allocations: 5.062 kB / 0.7471 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/1.524, allocations: 9.428 MB / 0.7563 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002916/1.527, allocations: 1.063 MB / 0.7573 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008861/1.528, allocations: 41.08 kB / 0.7574 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.531, allocations: 171.7 kB / 0.7576 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005162/1.531, allocations: 148.3 kB / 0.7577 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.531, allocations: 68.3 kB / 0.7578 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007743/1.539, allocations: 4.453 MB / 0.7621 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.62e-07/1.539, allocations: 3.719 kB / 0.7621 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009917/1.549, allocations: 1.623 MB / 0.7637 GB, free: 157.3 MB / 0.5137 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 (215): * Single equations (assignments): 209 * 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.0008059/1.55, allocations: 184.6 kB / 0.7639 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01593/1.566, allocations: 9.574 MB / 0.7732 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.566, allocations: 0 / 0.7732 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003997/1.57, allocations: 2.736 MB / 0.7759 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006396/1.576, allocations: 0.7926 MB / 0.7767 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/1.609, allocations: 15.27 MB / 0.7916 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009206/1.618, allocations: 4.905 MB / 0.7964 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008858/1.627, allocations: 2.743 MB / 0.799 GB, free: 127 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/1.629, allocations: 391.4 kB / 0.7994 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.403e-06/1.629, allocations: 0 / 0.7994 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1179/1.747, allocations: 64.03 MB / 0.862 GB, free: 62.71 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches