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: 97.11 kB / 17 MB, free: 6.418 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.001508/0.001508, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.412/1.412, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003554, allocations: 11.98 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3777/0.5188, allocations: 90.53 MB / 0.549 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05023/0.5691, allocations: 18.24 MB / 0.5668 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02334/0.5925, allocations: 428.2 kB / 0.5672 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02056/0.6131, allocations: 4.817 MB / 0.5719 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0452/0.6583, allocations: 13.9 MB / 0.5854 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006879/0.6652, allocations: 1.014 MB / 0.5864 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.1316/0.7968, allocations: 91.6 MB / 0.6759 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/0.811, allocations: 7.283 MB / 0.683 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.816, allocations: 2 MB / 0.685 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008031/0.8241, allocations: 3.193 MB / 0.6881 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.8261, allocations: 224 kB / 0.6883 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.8304, allocations: 1.127 MB / 0.6894 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.005346/0.8358, allocations: 2.821 MB / 0.6921 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00304/0.8388, allocations: 1.294 MB / 0.6934 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.8508, allocations: 8.627 MB / 0.7018 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.8509, allocations: 4 kB / 0.7018 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.527e-06/0.8509, allocations: 0 / 0.7018 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005359/0.8514, allocations: 0 / 0.7018 GB, free: 8.512 MB / 0.5294 GB 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.01926/0.8707, allocations: 6.384 MB / 0.7081 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.8708, allocations: 8.031 kB / 0.7081 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3585/1.229, allocations: 3.173 MB / 0.7112 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/1.244, allocations: 4.774 MB / 0.7158 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005904/1.245, allocations: 379.7 kB / 0.7162 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002824/1.247, allocations: 0.4928 MB / 0.7167 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/1.283, allocations: 14.8 MB / 0.7311 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007315/1.284, allocations: 72.44 kB / 0.7312 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/1.287, allocations: 233.3 kB / 0.7314 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005809/1.293, allocations: 2.727 MB / 0.7341 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02837/1.321, allocations: 12.22 MB / 0.746 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07372/1.395, allocations: 57.19 MB / 0.8019 GB, free: 63.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.406, allocations: 4.682 MB / 0.8065 GB, free: 58.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003554/1.409, allocations: 2.935 MB / 0.8093 GB, free: 55.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/1.41, allocations: 36.25 kB / 0.8094 GB, free: 55.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/1.41, allocations: 58.09 kB / 0.8094 GB, free: 55.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 4.127e-06/1.41, allocations: 0 / 0.8094 GB, free: 55.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.06454/1.474, allocations: 23.37 MB / 0.8322 GB, free: 32.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/1.474, allocations: 254.7 kB / 0.8325 GB, free: 31.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009388/1.484, allocations: 6.743 MB / 0.8391 GB, free: 25.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006182/1.484, allocations: 64.2 kB / 0.8391 GB, free: 25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002579/1.487, allocations: 4.587 MB / 0.8436 GB, free: 20.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.488, allocations: 0.8322 MB / 0.8444 GB, free: 19.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/1.488, allocations: 160 kB / 0.8446 GB, free: 19.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003011/1.489, allocations: 0.6531 MB / 0.8452 GB, free: 18.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003741/1.492, allocations: 2.872 MB / 0.848 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005723/1.498, allocations: 7.83 MB / 0.8557 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005953/1.504, allocations: 4.612 MB / 0.8602 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.862e-05/1.504, allocations: 52 kB / 0.8602 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02572/1.53, allocations: 11.91 MB / 0.8718 GB, free: 6.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003556/1.53, allocations: 83.95 kB / 0.8719 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005955/1.531, allocations: 176 kB / 0.8721 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00549/1.537, allocations: 1.78 MB / 0.8738 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007952/1.545, allocations: 1.93 MB / 0.8757 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/1.56, allocations: 11.53 MB / 0.887 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007917/1.568, allocations: 455.2 kB / 0.8874 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00224/1.571, allocations: 496 kB / 0.8879 GB, free: 5.816 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 (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 {(2,100.0%) 12,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007535/1.578, allocations: 3.048 MB / 0.8909 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/1.58, allocations: 0.5476 MB / 0.8914 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.593, allocations: 4.843 MB / 0.8961 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.079e-05/1.593, allocations: 24 kB / 0.8961 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/1.593, allocations: 9.75 kB / 0.8961 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.508e-05/1.593, allocations: 7.969 kB / 0.8962 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03132/1.624, allocations: 11.22 MB / 0.9071 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/1.624, allocations: 0 / 0.9071 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.627, allocations: 403.8 kB / 0.9075 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005078/1.632, allocations: 1.467 MB / 0.9089 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005051/1.633, allocations: 37.75 kB / 0.909 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/1.647, allocations: 10.62 MB / 0.9193 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.647, allocations: 4.031 kB / 0.9193 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.662, allocations: 7.922 MB / 0.9271 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002398/1.664, allocations: 0.6305 MB / 0.9277 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/1.666, allocations: 35.98 kB / 0.9277 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003573/1.669, allocations: 143.8 kB / 0.9279 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005729/1.67, allocations: 109.3 kB / 0.928 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.67, allocations: 62.17 kB / 0.928 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01172/1.682, allocations: 4.278 MB / 0.9322 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/1.682, allocations: 5.859 kB / 0.9322 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01048/1.692, allocations: 1.495 MB / 0.9337 GB, free: 6.73 MB / 0.6075 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 (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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009737/1.693, allocations: 167.8 kB / 0.9338 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.707, allocations: 7.039 MB / 0.9407 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.707, allocations: 0 / 0.9407 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.2794/1.987, allocations: 2.258 MB / 0.9429 GB, free: 258.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009886/1.997, allocations: 0.7454 MB / 0.9436 GB, free: 258.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03804/2.035, allocations: 16.25 MB / 0.9595 GB, free: 252.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/2.041, allocations: 4.642 MB / 0.964 GB, free: 250.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006552/2.047, allocations: 2.523 MB / 0.9665 GB, free: 250.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/2.048, allocations: 353.6 kB / 0.9668 GB, free: 250.4 MB / 0.6075 GB Notification: Performance of SimCode: time 2.485e-06/2.048, allocations: 3.812 kB / 0.9669 GB, free: 250.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.09791/2.146, allocations: 55.2 MB / 1.021 GB, free: 202.1 MB / 0.6075 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/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