Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 114.5 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.001783/0.001783, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2957, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01375/0.3095, allocations: 13.66 MB / 0.545 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009793/0.3193, allocations: 4.733 MB / 0.5496 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.3216, allocations: 90.62 kB / 0.5497 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007334/0.329, allocations: 4.454 MB / 0.5541 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005585/0.3346, allocations: 2.197 MB / 0.5562 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.3378, allocations: 1.154 MB / 0.5573 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008108/0.346, allocations: 6.339 MB / 0.5635 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006852/0.3528, allocations: 5.551 MB / 0.5689 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/0.3564, allocations: 2.232 MB / 0.5711 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004159/0.3606, allocations: 2.948 MB / 0.574 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.3616, allocations: 496 kB / 0.5745 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.3645, allocations: 1.502 MB / 0.5759 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002413/0.3669, allocations: 2.708 MB / 0.5786 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002981/0.3699, allocations: 3.061 MB / 0.5816 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.3818, allocations: 9.706 MB / 0.5911 GB, free: 4.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.3818, allocations: 0 / 0.5911 GB, free: 4.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3819, allocations: 0 / 0.5911 GB, free: 4.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005242/0.3824, allocations: 0 / 0.5911 GB, free: 4.695 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: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.01859/0.401, allocations: 6.684 MB / 0.5976 GB, free: 13.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4011, allocations: 9.109 kB / 0.5976 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.4125, allocations: 2.579 MB / 0.6001 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008285/0.4208, allocations: 3.874 MB / 0.6039 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.4212, allocations: 337 kB / 0.6042 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.4226, allocations: 455.8 kB / 0.6047 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02585/0.4485, allocations: 13.99 MB / 0.6183 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/0.4488, allocations: 63.42 kB / 0.6184 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/0.45, allocations: 207.8 kB / 0.6186 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004671/0.4547, allocations: 2.535 MB / 0.621 GB, free: 5.008 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02511/0.4798, allocations: 12.13 MB / 0.6329 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06276/0.5426, allocations: 51.68 MB / 0.6834 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/0.5586, allocations: 6.236 MB / 0.6895 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004687/0.5633, allocations: 3.859 MB / 0.6932 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02019/0.5835, allocations: 13.23 MB / 0.7061 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.5836, allocations: 60.48 kB / 0.7062 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=228): time 4.759e-06/0.5836, allocations: 0 / 0.7062 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=270): time 0.3026/0.8862, allocations: 29.43 MB / 0.7349 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.8863, allocations: 204.7 kB / 0.7351 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005222/0.8915, allocations: 4.953 MB / 0.74 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004088/0.8919, allocations: 68.22 kB / 0.74 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.8935, allocations: 3.798 MB / 0.7437 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007455/0.8942, allocations: 1.014 MB / 0.7447 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/0.8958, allocations: 1.513 MB / 0.7462 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.364e-05/0.8958, allocations: 306.7 kB / 0.7465 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.8994, allocations: 3.288 MB / 0.7497 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.9041, allocations: 7.346 MB / 0.7569 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009217/0.9133, allocations: 11.4 MB / 0.768 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.683e-05/0.9134, allocations: 44 kB / 0.7681 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01703/0.9304, allocations: 12.49 MB / 0.7803 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.9305, allocations: 67.98 kB / 0.7803 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.754e-05/0.9306, allocations: 144.1 kB / 0.7805 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004838/0.9355, allocations: 2.241 MB / 0.7827 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005011/0.9405, allocations: 1.696 MB / 0.7843 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.9549, allocations: 14.38 MB / 0.7984 GB, free: 95.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/0.9602, allocations: 441.7 kB / 0.7988 GB, free: 95.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006434/0.9608, allocations: 431.9 kB / 0.7992 GB, free: 94.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (888): * Single equations (assignments): 883 * 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 {(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.003178/0.964, allocations: 2.687 MB / 0.8018 GB, free: 92.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006864/0.9647, allocations: 450.2 kB / 0.8022 GB, free: 91.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.9753, allocations: 7 MB / 0.8091 GB, free: 84.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.9754, allocations: 15.89 kB / 0.8091 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.9754, allocations: 0 / 0.8091 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/0.9761, allocations: 0.4951 MB / 0.8096 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/0.9767, allocations: 44 kB / 0.8096 GB, free: 84.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/0.9787, allocations: 211.7 kB / 0.8098 GB, free: 83.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004303/0.9791, allocations: 177.7 kB / 0.81 GB, free: 83.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01124/0.9904, allocations: 7.395 MB / 0.8172 GB, free: 76.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009177/0.9996, allocations: 9.134 MB / 0.8261 GB, free: 67.25 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00247/1.002, allocations: 2.518 MB / 0.8286 GB, free: 64.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003773/1.006, allocations: 3.118 MB / 0.8316 GB, free: 61.63 MB / 0.5606 GB Notification: Performance of Backend: time 2.91e-07/1.006, allocations: 4 kB / 0.8316 GB, free: 61.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009171/1.015, allocations: 6.072 MB / 0.8376 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01464/1.03, allocations: 12.43 MB / 0.8497 GB, free: 43.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.1057/1.135, allocations: 71.3 MB / 0.9193 GB, free: 4.191 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches