Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 111.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 207.9 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.09 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 79.86 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2884, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01521/0.3036, allocations: 15.51 MB / 0.5468 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009432/0.3131, allocations: 4.942 MB / 0.5516 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.3148, allocations: 107.7 kB / 0.5518 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007992/0.3228, allocations: 4.992 MB / 0.5566 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006005/0.3289, allocations: 2.47 MB / 0.559 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.331, allocations: 1.104 MB / 0.5601 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008682/0.3397, allocations: 6.888 MB / 0.5668 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006998/0.3467, allocations: 5.772 MB / 0.5725 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/0.3512, allocations: 2.399 MB / 0.5748 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00525/0.3565, allocations: 3.224 MB / 0.578 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00172/0.3582, allocations: 0.5078 MB / 0.5785 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.3616, allocations: 1.397 MB / 0.5798 GB, free: 232 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003577/0.3652, allocations: 2.993 MB / 0.5828 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004946/0.3702, allocations: 3.344 MB / 0.586 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.381, allocations: 10.37 MB / 0.5961 GB, free: 15.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.381, allocations: 0 / 0.5961 GB, free: 15.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.381, allocations: 3.938 kB / 0.5961 GB, free: 15.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002548/0.3813, allocations: 0 / 0.5961 GB, free: 15.46 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01608/0.3974, allocations: 7.412 MB / 0.6034 GB, free: 7.957 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3974, allocations: 8.031 kB / 0.6034 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.4089, allocations: 2.706 MB / 0.606 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009567/0.4185, allocations: 4.28 MB / 0.6102 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.4189, allocations: 353.5 kB / 0.6106 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/0.4205, allocations: 479.6 kB / 0.611 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.445, allocations: 14.68 MB / 0.6253 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/0.4452, allocations: 63.45 kB / 0.6254 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005537/0.4458, allocations: 227.8 kB / 0.6256 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004484/0.4503, allocations: 2.742 MB / 0.6283 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.4737, allocations: 12.49 MB / 0.6405 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07414/0.5478, allocations: 58.01 MB / 0.6972 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/0.5669, allocations: 7.275 MB / 0.7043 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005039/0.572, allocations: 3.896 MB / 0.7081 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01382/0.5858, allocations: 8.973 MB / 0.7168 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.5859, allocations: 68.38 kB / 0.7169 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 4.348e-06/0.5859, allocations: 0 / 0.7169 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.295/0.8809, allocations: 32.72 MB / 0.7489 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.881, allocations: 235.6 kB / 0.7491 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006597/0.8876, allocations: 6.66 MB / 0.7556 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006396/0.8883, allocations: 65.7 kB / 0.7556 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002147/0.8904, allocations: 4.373 MB / 0.7599 GB, free: 138 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/0.8918, allocations: 1.099 MB / 0.761 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/0.8937, allocations: 1.787 MB / 0.7627 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.8938, allocations: 301.1 kB / 0.763 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003916/0.8977, allocations: 3.62 MB / 0.7666 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.9032, allocations: 8.616 MB / 0.775 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.9149, allocations: 13.15 MB / 0.7878 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/0.9151, allocations: 55.88 kB / 0.7879 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02072/0.9358, allocations: 14.03 MB / 0.8016 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/0.9359, allocations: 80 kB / 0.8016 GB, free: 90.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/0.9361, allocations: 176.6 kB / 0.8018 GB, free: 90.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/0.9409, allocations: 2.268 MB / 0.804 GB, free: 87.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005851/0.9468, allocations: 2.012 MB / 0.806 GB, free: 85.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.9606, allocations: 14.22 MB / 0.8199 GB, free: 71.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/0.967, allocations: 0.5109 MB / 0.8204 GB, free: 70.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/0.968, allocations: 0.5038 MB / 0.8209 GB, free: 70.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.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 (1058): * Single equations (assignments): 1051 * 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.004294/0.9724, allocations: 2.992 MB / 0.8238 GB, free: 67.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009582/0.9733, allocations: 0.5553 MB / 0.8243 GB, free: 66.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.9847, allocations: 7.22 MB / 0.8314 GB, free: 59.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.9847, allocations: 19.95 kB / 0.8314 GB, free: 59.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.9847, allocations: 0 / 0.8314 GB, free: 59.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.9859, allocations: 0.6148 MB / 0.832 GB, free: 58.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/0.9871, allocations: 51.94 kB / 0.8321 GB, free: 58.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/0.9897, allocations: 195.7 kB / 0.8322 GB, free: 58.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005141/0.9902, allocations: 197.9 kB / 0.8324 GB, free: 58.51 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0116/1.002, allocations: 7.614 MB / 0.8399 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009584/1.011, allocations: 9.508 MB / 0.8491 GB, free: 41.35 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002462/1.014, allocations: 2.579 MB / 0.8517 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005833/1.02, allocations: 4.236 MB / 0.8558 GB, free: 34.55 MB / 0.5606 GB Notification: Performance of Backend: time 4.11e-07/1.02, allocations: 0 / 0.8558 GB, free: 34.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.032, allocations: 6.738 MB / 0.8624 GB, free: 27.84 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02154/1.053, allocations: 13.86 MB / 0.8759 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.3505/1.404, allocations: 76.43 MB / 0.9506 GB, free: 212.4 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches