Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.Force,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_4.0.0_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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_4.0.0_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001122/0.001122, allocations: 192 kB / 18.56 MB, free: 4.434 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.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2096/0.2096, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 68.64 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1608, allocations: 60.83 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.0174/0.1783, allocations: 15.73 MB / 485 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.1899, allocations: 4.952 MB / 489.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004201/0.1942, allocations: 111.6 kB / 490 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009744/0.2039, allocations: 5.031 MB / 495.1 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007911/0.2119, allocations: 2.547 MB / 497.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.2152, allocations: 1.115 MB / 498.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.2265, allocations: 6.863 MB / 0.4937 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009776/0.2363, allocations: 5.821 MB / 0.4994 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.2418, allocations: 2.434 MB / 0.5018 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2397/0.4816, allocations: 3.27 MB / 0.505 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002513/0.4841, allocations: 0.5118 MB / 0.5055 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.4883, allocations: 1.41 MB / 0.5069 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004535/0.4928, allocations: 3.052 MB / 0.5099 GB, free: 18.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006235/0.4991, allocations: 3.429 MB / 0.5132 GB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.513, allocations: 10.33 MB / 0.5233 GB, free: 16.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.513, allocations: 0.8438 kB / 0.5233 GB, free: 16.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.513, allocations: 0 / 0.5233 GB, free: 16.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004573/0.5135, allocations: 0.8438 kB / 0.5233 GB, free: 16.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02587/0.5394, allocations: 7.514 MB / 0.5306 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5394, allocations: 13.22 kB / 0.5307 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.5532, allocations: 2.765 MB / 0.5334 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.5648, allocations: 4.29 MB / 0.5375 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/0.5653, allocations: 361.5 kB / 0.5379 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/0.5679, allocations: 491.2 kB / 0.5384 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03531/0.6033, allocations: 15.06 MB / 0.5531 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004226/0.6037, allocations: 67.84 kB / 0.5531 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002338/0.6061, allocations: 227.9 kB / 0.5533 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005979/0.6121, allocations: 2.869 MB / 0.5561 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0309/0.643, allocations: 12.81 MB / 0.5687 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08502/0.7281, allocations: 59.1 MB / 0.6264 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/0.7476, allocations: 7.276 MB / 0.6335 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005142/0.7527, allocations: 3.892 MB / 0.6373 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/0.7687, allocations: 9.015 MB / 0.6461 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.141e-05/0.7688, allocations: 60.56 kB / 0.6461 GB, free: 11.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=246): time 6.572e-06/0.7688, allocations: 0 / 0.6461 GB, free: 11.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=288): time 0.09276/0.8616, allocations: 32.86 MB / 0.6782 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/0.8619, allocations: 239.6 kB / 0.6785 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/0.8737, allocations: 6.71 MB / 0.685 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007986/0.8745, allocations: 76.77 kB / 0.6851 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003527/0.8781, allocations: 4.46 MB / 0.6894 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/0.8797, allocations: 1.101 MB / 0.6905 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003739/0.8834, allocations: 1.799 MB / 0.6923 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.8836, allocations: 301.1 kB / 0.6926 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005681/0.8892, allocations: 3.624 MB / 0.6961 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.205/1.094, allocations: 8.657 MB / 0.7045 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/1.108, allocations: 13.2 MB / 0.7174 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002513/1.108, allocations: 54.12 kB / 0.7175 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02384/1.132, allocations: 14.08 MB / 0.7312 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.132, allocations: 77.59 kB / 0.7313 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/1.132, allocations: 182.9 kB / 0.7315 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005042/1.137, allocations: 2.268 MB / 0.7337 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00601/1.143, allocations: 2.03 MB / 0.7357 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/1.157, allocations: 14.25 MB / 0.7496 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007113/1.164, allocations: 0.5106 MB / 0.7501 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.165, allocations: 0.51 MB / 0.7506 GB, free: 152.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.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 (1064): * Single equations (assignments): 1057 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005116/1.17, allocations: 3.042 MB / 0.7536 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008894/1.171, allocations: 0.5596 MB / 0.7541 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.182, allocations: 7.226 MB / 0.7612 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/1.182, allocations: 31.94 kB / 0.7612 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/1.182, allocations: 13.3 kB / 0.7612 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/1.182, allocations: 15.44 kB / 0.7612 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/1.206, allocations: 15.26 MB / 0.7761 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/1.206, allocations: 8 kB / 0.7761 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/1.208, allocations: 491.2 kB / 0.7766 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004708/1.213, allocations: 2.027 MB / 0.7786 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006801/1.214, allocations: 60.61 kB / 0.7787 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.228, allocations: 13.51 MB / 0.7918 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.228, allocations: 8 kB / 0.7919 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/1.245, allocations: 11.47 MB / 0.8031 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/1.247, allocations: 0.6424 MB / 0.8037 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001866/1.249, allocations: 48.94 kB / 0.8037 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003653/1.253, allocations: 205.6 kB / 0.8039 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007578/1.254, allocations: 177.6 kB / 0.8041 GB, free: 99.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002757/1.254, allocations: 84.61 kB / 0.8042 GB, free: 99.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00709/1.261, allocations: 4.293 MB / 0.8084 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/1.261, allocations: 192 / 0.8084 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009137/1.27, allocations: 1.625 MB / 0.81 GB, free: 93.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * Array equations: 3 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007156/1.271, allocations: 197 kB / 0.8101 GB, free: 93.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01371/1.285, allocations: 10.51 MB / 0.8204 GB, free: 83.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.285, allocations: 0 / 0.8204 GB, free: 83.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004981/1.29, allocations: 3.535 MB / 0.8239 GB, free: 79.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005201/1.295, allocations: 0.7475 MB / 0.8246 GB, free: 78.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.323, allocations: 15.28 MB / 0.8395 GB, free: 63.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006837/1.33, allocations: 4.624 MB / 0.844 GB, free: 58.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006175/1.336, allocations: 2.806 MB / 0.8468 GB, free: 56.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.337, allocations: 379.4 kB / 0.8471 GB, free: 55.75 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/1.337, allocations: 0 / 0.8471 GB, free: 55.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.318/1.655, allocations: 68.3 MB / 0.9138 GB, free: 160.1 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches