Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 112.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3274, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01539/0.3428, allocations: 14.56 MB / 0.5459 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3537, allocations: 4.915 MB / 0.5507 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.3568, allocations: 99.69 kB / 0.5508 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008748/0.3656, allocations: 4.747 MB / 0.5554 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006685/0.3723, allocations: 2.381 MB / 0.5577 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.3751, allocations: 1.135 MB / 0.5589 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01105/0.3862, allocations: 6.713 MB / 0.5654 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009551/0.3958, allocations: 5.747 MB / 0.571 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00477/0.4006, allocations: 2.337 MB / 0.5733 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005037/0.4057, allocations: 3.096 MB / 0.5763 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.4074, allocations: 0.4961 MB / 0.5768 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.4111, allocations: 1.525 MB / 0.5783 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003607/0.4148, allocations: 2.895 MB / 0.5811 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005262/0.42, allocations: 3.251 MB / 0.5843 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.4322, allocations: 10.21 MB / 0.5943 GB, free: 1.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4322, allocations: 0 / 0.5943 GB, free: 1.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4323, allocations: 4 kB / 0.5943 GB, free: 1.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003259/0.4326, allocations: 0 / 0.5943 GB, free: 1.387 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01956/0.4522, allocations: 7.173 MB / 0.6013 GB, free: 10.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4522, allocations: 13.09 kB / 0.6013 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/0.4647, allocations: 2.652 MB / 0.6039 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00948/0.4742, allocations: 4.182 MB / 0.608 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.4746, allocations: 353.4 kB / 0.6083 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.4763, allocations: 467.6 kB / 0.6087 GB, free: 2.379 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02692/0.5032, allocations: 14.5 MB / 0.6229 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002147/0.5034, allocations: 63.36 kB / 0.623 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001119/0.5046, allocations: 223.8 kB / 0.6232 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004609/0.5092, allocations: 2.637 MB / 0.6258 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/0.5341, allocations: 12.37 MB / 0.6378 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0697/0.6039, allocations: 55.31 MB / 0.6919 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/0.6197, allocations: 5.807 MB / 0.6975 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004589/0.6243, allocations: 3.641 MB / 0.7011 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/0.6375, allocations: 8.14 MB / 0.709 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.6376, allocations: 68.08 kB / 0.7091 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.27e-06/0.6376, allocations: 0 / 0.7091 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=269): time 0.3143/0.9519, allocations: 30.88 MB / 0.7393 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.9519, allocations: 234.7 kB / 0.7395 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006272/0.9582, allocations: 6.318 MB / 0.7456 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004622/0.9587, allocations: 65.7 kB / 0.7457 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/0.9604, allocations: 4.198 MB / 0.7498 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007214/0.9611, allocations: 1.02 MB / 0.7508 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/0.9627, allocations: 1.673 MB / 0.7524 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.313e-05/0.9628, allocations: 305.1 kB / 0.7527 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/0.9664, allocations: 3.436 MB / 0.7561 GB, free: 142 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004766/0.9712, allocations: 8.068 MB / 0.764 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00932/0.9805, allocations: 12.35 MB / 0.776 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-05/0.9806, allocations: 49.03 kB / 0.7761 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.01726/0.9979, allocations: 13.35 MB / 0.7891 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.9979, allocations: 76.03 kB / 0.7892 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.9981, allocations: 168 kB / 0.7893 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004762/1.003, allocations: 2.272 MB / 0.7916 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/1.008, allocations: 1.86 MB / 0.7934 GB, free: 99.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/1.021, allocations: 14.37 MB / 0.8074 GB, free: 84.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/1.027, allocations: 483.3 kB / 0.8079 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006199/1.028, allocations: 491.1 kB / 0.8083 GB, free: 83.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (981): * Single equations (assignments): 974 * 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,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00332/1.031, allocations: 2.874 MB / 0.8112 GB, free: 80.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007776/1.032, allocations: 0.5284 MB / 0.8117 GB, free: 80.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.042, allocations: 6.982 MB / 0.8185 GB, free: 73.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/1.042, allocations: 11.95 kB / 0.8185 GB, free: 73.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.042, allocations: 4 kB / 0.8185 GB, free: 73.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/1.043, allocations: 0.6034 MB / 0.8191 GB, free: 72.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006109/1.044, allocations: 44 kB / 0.8191 GB, free: 72.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.046, allocations: 195.6 kB / 0.8193 GB, free: 72.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/1.046, allocations: 189.5 kB / 0.8195 GB, free: 72.24 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0108/1.057, allocations: 7.352 MB / 0.8267 GB, free: 64.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008839/1.066, allocations: 9.119 MB / 0.8356 GB, free: 55.74 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002352/1.068, allocations: 2.463 MB / 0.838 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004557/1.073, allocations: 4.025 MB / 0.8419 GB, free: 49.26 MB / 0.5606 GB Notification: Performance of Backend: time 4.1e-07/1.073, allocations: 0 / 0.8419 GB, free: 49.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.083, allocations: 6.464 MB / 0.8482 GB, free: 42.82 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01839/1.101, allocations: 13.47 MB / 0.8614 GB, free: 29.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.1226/1.224, allocations: 74.36 MB / 0.934 GB, free: 3.34 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches