Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 110.4 kB / 18.45 MB, free: 4.594 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.001991/0.001991, allocations: 187.2 kB / 19.38 MB, free: 3.672 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.423/1.423, allocations: 222.9 MB / 243.1 MB, free: 15.13 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.2142/0.2142, allocations: 44.17 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3063, allocations: 60.81 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.02627/0.3326, allocations: 26.63 MB / 0.5456 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.3507, allocations: 7.31 MB / 0.5527 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006542/0.3573, allocations: 196.2 kB / 0.5529 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01904/0.3764, allocations: 10.45 MB / 0.5631 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.3886, allocations: 4.236 MB / 0.5673 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.3934, allocations: 2.04 MB / 0.5693 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01862/0.412, allocations: 12.75 MB / 0.5817 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01864/0.4307, allocations: 13.13 MB / 0.5945 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00751/0.4383, allocations: 4.709 MB / 0.5991 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008755/0.447, allocations: 6.258 MB / 0.6052 GB, free: 4.023 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003222/0.4503, allocations: 1.039 MB / 0.6062 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005068/0.4554, allocations: 1.916 MB / 0.6081 GB, free: 1.066 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006904/0.4623, allocations: 5.877 MB / 0.6139 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009807/0.4721, allocations: 6.491 MB / 0.6202 GB, free: 4.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02545/0.4976, allocations: 19.62 MB / 0.6394 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4977, allocations: 12 kB / 0.6394 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4977, allocations: 0 / 0.6394 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007018/0.4984, allocations: 0 / 0.6394 GB, free: 0.9375 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.03259/0.531, allocations: 14.15 MB / 0.6532 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.531, allocations: 8.031 kB / 0.6532 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/0.5531, allocations: 4.248 MB / 0.6573 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/0.5715, allocations: 8.254 MB / 0.6654 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005935/0.5721, allocations: 0.6861 MB / 0.6661 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003003/0.5751, allocations: 0.933 MB / 0.667 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05334/0.6285, allocations: 27.32 MB / 0.6937 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004527/0.629, allocations: 127 kB / 0.6938 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002896/0.6319, allocations: 431.7 kB / 0.6942 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009134/0.641, allocations: 4.938 MB / 0.699 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4762/1.117, allocations: 23.02 MB / 0.7215 GB, free: 152.1 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1043/1.222, allocations: 104.5 MB / 0.8236 GB, free: 65.22 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0339/1.256, allocations: 13.37 MB / 0.8366 GB, free: 51.67 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008163/1.264, allocations: 7.958 MB / 0.8444 GB, free: 43.71 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02378/1.288, allocations: 18.21 MB / 0.8622 GB, free: 25.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/1.288, allocations: 86.5 kB / 0.8623 GB, free: 25.51 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=469): time 7.253e-06/1.288, allocations: 0 / 0.8623 GB, free: 25.51 MB / 0.5607 GB Notification: Performance of matching and sorting (n=553): time 0.1791/1.467, allocations: 70.36 MB / 0.931 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/1.467, allocations: 364.8 kB / 0.9313 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01738/1.484, allocations: 11.62 MB / 0.9427 GB, free: 7.387 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001226/1.486, allocations: 113.7 kB / 0.9428 GB, free: 7.27 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.005837/1.491, allocations: 7.979 MB / 0.9506 GB, free: 15.23 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002725/1.494, allocations: 2.155 MB / 0.9527 GB, free: 13.06 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0044/1.499, allocations: 3.012 MB / 0.9556 GB, free: 10.04 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.499, allocations: 304.9 kB / 0.9559 GB, free: 9.738 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01015/1.509, allocations: 6.556 MB / 0.9623 GB, free: 3.176 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2711/1.78, allocations: 14.43 MB / 0.9764 GB, free: 209.1 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02427/1.804, allocations: 22.51 MB / 0.9984 GB, free: 192.8 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002569/1.805, allocations: 76.41 kB / 0.9985 GB, free: 192.8 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1902) (initialization): time 0.03948/1.844, allocations: 24.93 MB / 1.023 GB, free: 184.5 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/1.844, allocations: 126.9 kB / 1.023 GB, free: 184.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/1.845, allocations: 272 kB / 1.023 GB, free: 184.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/1.855, allocations: 4.442 MB / 1.028 GB, free: 181 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/1.865, allocations: 3.388 MB / 1.031 GB, free: 178.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02736/1.893, allocations: 28.52 MB / 1.059 GB, free: 151.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/1.904, allocations: 0.8626 MB / 1.06 GB, free: 150.4 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/1.906, allocations: 0.828 MB / 1.06 GB, free: 149.6 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1242 * Number of states: 0 () * Number of discrete variables: 138 (force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1764): * Single equations (assignments): 1753 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,23,100.0%), (2,22,100.0%), (2,22,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007297/1.913, allocations: 5.28 MB / 1.066 GB, free: 144.4 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.915, allocations: 1.045 MB / 1.067 GB, free: 144 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02224/1.937, allocations: 14.69 MB / 1.081 GB, free: 129.3 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.987e-05/1.937, allocations: 27.91 kB / 1.081 GB, free: 129.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.937, allocations: 0 / 1.081 GB, free: 129.2 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/1.94, allocations: 1.122 MB / 1.082 GB, free: 128.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00235/1.942, allocations: 88 kB / 1.082 GB, free: 128.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00489/1.947, allocations: 402.5 kB / 1.082 GB, free: 128.2 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/1.948, allocations: 391.9 kB / 1.083 GB, free: 127.8 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02525/1.973, allocations: 14.87 MB / 1.097 GB, free: 113 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01904/1.992, allocations: 18.4 MB / 1.115 GB, free: 94.47 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004876/1.997, allocations: 5.088 MB / 1.12 GB, free: 89.39 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00937/2.007, allocations: 7.423 MB / 1.128 GB, free: 82.02 MB / 0.6388 GB Notification: Performance of Backend: time 6.61e-07/2.007, allocations: 0 / 1.128 GB, free: 82.02 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02045/2.027, allocations: 11.85 MB / 1.139 GB, free: 70.21 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03822/2.065, allocations: 25.99 MB / 1.164 GB, free: 44.19 MB / 0.6388 GB Notification: Performance of Templates: time 0.4519/2.517, allocations: 140.6 MB / 1.302 GB, free: 133.1 MB / 0.6388 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches