Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001256/0.001256, allocations: 116.4 kB / 17.09 MB, free: 5.988 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.001225/0.001225, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2035/0.2035, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 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.001444/0.001444, allocations: 65.47 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1097, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.02758/0.1373, allocations: 29.63 MB / 0.5175 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.1541, allocations: 7.737 MB / 0.5251 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005547/0.1597, allocations: 207.4 kB / 0.5253 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2594/0.4192, allocations: 10.52 MB / 0.5356 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.4318, allocations: 4.479 MB / 0.5399 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005332/0.4371, allocations: 2.044 MB / 0.5419 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02024/0.4574, allocations: 12.84 MB / 0.5545 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01923/0.4767, allocations: 13.52 MB / 0.5677 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.4869, allocations: 5.028 MB / 0.5726 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.4976, allocations: 6.811 MB / 0.5793 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004323/0.5019, allocations: 1.141 MB / 0.5804 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006291/0.5082, allocations: 1.981 MB / 0.5823 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00814/0.5164, allocations: 6.316 MB / 0.5885 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01231/0.5287, allocations: 7.024 MB / 0.5953 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02747/0.5562, allocations: 21.31 MB / 0.6161 GB, free: 460 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5563, allocations: 0 / 0.6161 GB, free: 460 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5563, allocations: 0 / 0.6161 GB, free: 460 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009617/0.5573, allocations: 0 / 0.6161 GB, free: 460 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.03514/0.5925, allocations: 14.72 MB / 0.6305 GB, free: 1.887 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.5925, allocations: 15.89 kB / 0.6305 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02116/0.6137, allocations: 4.322 MB / 0.6347 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/0.6339, allocations: 8.726 MB / 0.6433 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000581/0.6345, allocations: 0.7406 MB / 0.644 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003324/0.6378, allocations: 0.9936 MB / 0.645 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05599/0.6938, allocations: 29.61 MB / 0.6739 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005344/0.6944, allocations: 115 kB / 0.674 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002954/0.6973, allocations: 468.3 kB / 0.6744 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009634/0.707, allocations: 5.451 MB / 0.6798 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04885/0.7559, allocations: 25.14 MB / 0.7043 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5576/1.314, allocations: 111.4 MB / 0.8131 GB, free: 126.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03572/1.349, allocations: 14.88 MB / 0.8276 GB, free: 122.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01101/1.36, allocations: 8.826 MB / 0.8363 GB, free: 119.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03225/1.393, allocations: 20.56 MB / 0.8563 GB, free: 106.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.932e-05/1.393, allocations: 105.1 kB / 0.8564 GB, free: 106.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=566): time 9.377e-06/1.393, allocations: 0 / 0.8564 GB, free: 106.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=650): time 0.1741/1.567, allocations: 74.65 MB / 0.9293 GB, free: 36.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.567, allocations: 374.1 kB / 0.9297 GB, free: 35.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01918/1.586, allocations: 12.07 MB / 0.9415 GB, free: 23.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001639/1.588, allocations: 125.7 kB / 0.9416 GB, free: 23.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004923/1.593, allocations: 8.268 MB / 0.9497 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002896/1.596, allocations: 2.394 MB / 0.952 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00871/1.605, allocations: 3.252 MB / 0.9552 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/1.605, allocations: 309.1 kB / 0.9555 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01017/1.615, allocations: 7.445 MB / 0.9628 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0175/1.632, allocations: 15.78 MB / 0.9782 GB, free: 14.29 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2994/1.932, allocations: 24.86 MB / 1.002 GB, free: 186.3 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002537/1.932, allocations: 81.41 kB / 1.003 GB, free: 186.3 MB / 0.6232 GB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.05508/1.987, allocations: 27.24 MB / 1.029 GB, free: 179.3 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/1.987, allocations: 129.8 kB / 1.029 GB, free: 179.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003101/1.988, allocations: 286.8 kB / 1.03 GB, free: 179.3 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/1.998, allocations: 4.464 MB / 1.034 GB, free: 178.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01313/2.011, allocations: 3.808 MB / 1.038 GB, free: 178.1 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03085/2.042, allocations: 28.5 MB / 1.065 GB, free: 162.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01422/2.056, allocations: 0.9537 MB / 1.066 GB, free: 162 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/2.059, allocations: 0.8896 MB / 1.067 GB, free: 161.1 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1310 * Number of states: 0 () * Number of discrete variables: 120 (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.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.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 (1946): * Single equations (assignments): 1935 * 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.009984/2.069, allocations: 5.681 MB / 1.073 GB, free: 155.8 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002406/2.071, allocations: 1.05 MB / 1.074 GB, free: 155.3 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02556/2.097, allocations: 16.73 MB / 1.09 GB, free: 138.5 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001406/2.097, allocations: 27.89 kB / 1.09 GB, free: 138.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/2.097, allocations: 4 kB / 1.09 GB, free: 138.5 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006417/2.104, allocations: 2.242 MB / 1.092 GB, free: 136.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003607/2.107, allocations: 111.9 kB / 1.092 GB, free: 136.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006245/2.114, allocations: 471.3 kB / 1.093 GB, free: 135.9 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/2.115, allocations: 432.9 kB / 1.093 GB, free: 135.5 MB / 0.6232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02647/2.141, allocations: 16.6 MB / 1.11 GB, free: 119 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02316/2.164, allocations: 21.16 MB / 1.13 GB, free: 97.7 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00655/2.171, allocations: 5.931 MB / 1.136 GB, free: 91.77 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01133/2.182, allocations: 7.743 MB / 1.144 GB, free: 84.09 MB / 0.6232 GB Notification: Performance of Backend: time 8.52e-07/2.182, allocations: 4 kB / 1.144 GB, free: 84.09 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02386/2.206, allocations: 13.18 MB / 1.156 GB, free: 70.95 MB / 0.6232 GB Notification: Performance of SimCode: time 0.04458/2.251, allocations: 27.27 MB / 1.183 GB, free: 43.69 MB / 0.6232 GB Notification: Performance of Templates: time 0.5048/2.756, allocations: 156.9 MB / 1.336 GB, free: 118.3 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches