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.000917/0.000917, allocations: 101 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008678/0.000868, allocations: 190.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.18 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 8 kB / 418.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 63.57 MB / 482.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3975/0.5495, allocations: 65.89 MB / 0.5354 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04088/0.5905, allocations: 13.72 MB / 0.5489 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02083/0.6114, allocations: 316.6 kB / 0.5492 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01501/0.6264, allocations: 3.501 MB / 0.5526 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0415/0.6679, allocations: 10.02 MB / 0.5624 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006482/0.6745, allocations: 0.9011 MB / 0.5632 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08609/0.7606, allocations: 62.31 MB / 0.6241 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.7734, allocations: 6.939 MB / 0.6309 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.7778, allocations: 1.701 MB / 0.6325 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004807/0.7826, allocations: 2.59 MB / 0.6351 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001916/0.7846, allocations: 188 kB / 0.6352 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.7882, allocations: 1.085 MB / 0.6363 GB, free: 9.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003812/0.7921, allocations: 2.295 MB / 0.6385 GB, free: 7.047 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002641/0.7947, allocations: 1.107 MB / 0.6396 GB, free: 5.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.8061, allocations: 7.474 MB / 0.6469 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.8061, allocations: 3.938 kB / 0.6469 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.8061, allocations: 0 / 0.6469 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004614/0.8066, allocations: 0 / 0.6469 GB, free: 14.43 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: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.01778/0.8244, allocations: 5.561 MB / 0.6523 GB, free: 8.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8244, allocations: 9.109 kB / 0.6524 GB, free: 8.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.8364, allocations: 2.625 MB / 0.6549 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.847, allocations: 3.753 MB / 0.6586 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004218/0.8474, allocations: 332.6 kB / 0.6589 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.8497, allocations: 447.7 kB / 0.6593 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03262/0.8823, allocations: 13.98 MB / 0.673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003105/0.8827, allocations: 55.53 kB / 0.673 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/0.8843, allocations: 215.8 kB / 0.6732 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004411/0.8888, allocations: 2.535 MB / 0.6757 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/0.9151, allocations: 12.11 MB / 0.6875 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3849/1.3, allocations: 51.94 MB / 0.7383 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/1.316, allocations: 6.245 MB / 0.7444 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005237/1.321, allocations: 3.851 MB / 0.7481 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01941/1.341, allocations: 13.23 MB / 0.761 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/1.341, allocations: 59.22 kB / 0.7611 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=228): time 4.729e-06/1.341, allocations: 0 / 0.7611 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=270): time 0.07438/1.415, allocations: 29.39 MB / 0.7898 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/1.415, allocations: 205.9 kB / 0.79 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00709/1.422, allocations: 4.932 MB / 0.7948 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007206/1.423, allocations: 65.7 kB / 0.7949 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001854/1.425, allocations: 3.793 MB / 0.7986 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.426, allocations: 1.011 MB / 0.7996 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/1.427, allocations: 148.8 kB / 0.7997 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002735/1.427, allocations: 0.616 MB / 0.8003 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003907/1.431, allocations: 3.255 MB / 0.8035 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005873/1.437, allocations: 7.323 MB / 0.8106 GB, free: 95.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005716/1.442, allocations: 4.764 MB / 0.8153 GB, free: 90.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.303e-05/1.442, allocations: 40 kB / 0.8153 GB, free: 90.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02001/1.462, allocations: 12.44 MB / 0.8275 GB, free: 77.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001864/1.463, allocations: 68 kB / 0.8275 GB, free: 77.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/1.463, allocations: 140 kB / 0.8277 GB, free: 77.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005297/1.468, allocations: 2.257 MB / 0.8299 GB, free: 75.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005894/1.474, allocations: 1.7 MB / 0.8315 GB, free: 73.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/1.49, allocations: 13.45 MB / 0.8447 GB, free: 60.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006297/1.496, allocations: 443.4 kB / 0.8451 GB, free: 59.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/1.498, allocations: 432.9 kB / 0.8455 GB, free: 59.23 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006382/1.504, allocations: 2.693 MB / 0.8481 GB, free: 56.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/1.506, allocations: 453.3 kB / 0.8486 GB, free: 56.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/1.519, allocations: 6.977 MB / 0.8554 GB, free: 49.08 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.085e-05/1.52, allocations: 28 kB / 0.8554 GB, free: 49.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.101e-05/1.52, allocations: 12 kB / 0.8554 GB, free: 49.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.344e-05/1.52, allocations: 15.89 kB / 0.8554 GB, free: 49.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02835/1.548, allocations: 14.32 MB / 0.8694 GB, free: 34.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/1.548, allocations: 0 / 0.8694 GB, free: 34.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.55, allocations: 455.3 kB / 0.8699 GB, free: 34.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004933/1.555, allocations: 2.023 MB / 0.8718 GB, free: 32.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007502/1.556, allocations: 45.41 kB / 0.8719 GB, free: 32.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/1.571, allocations: 12.72 MB / 0.8843 GB, free: 19.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.571, allocations: 4 kB / 0.8843 GB, free: 19.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/1.588, allocations: 10.96 MB / 0.895 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.59, allocations: 0.4991 MB / 0.8955 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/1.592, allocations: 47.98 kB / 0.8955 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.595, allocations: 211.7 kB / 0.8957 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007765/1.596, allocations: 165.8 kB / 0.8959 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004331/1.596, allocations: 64.7 kB / 0.896 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006987/1.603, allocations: 3.083 MB / 0.899 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/1.603, allocations: 0 / 0.899 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009658/1.613, allocations: 1.434 MB / 0.9004 GB, free: 2.656 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 207 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/1.614, allocations: 185.4 kB / 0.9006 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01433/1.628, allocations: 8.001 MB / 0.9084 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.628, allocations: 4 kB / 0.9084 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006513/1.635, allocations: 3.418 MB / 0.9117 GB, free: 7.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004775/1.639, allocations: 0.5878 MB / 0.9123 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2683/1.908, allocations: 15.67 MB / 0.9276 GB, free: 188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006808/1.915, allocations: 4.202 MB / 0.9317 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007138/1.922, allocations: 2.298 MB / 0.9339 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/1.923, allocations: 316.7 kB / 0.9342 GB, free: 187.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.263e-06/1.923, allocations: 0 / 0.9342 GB, free: 187.1 MB / 0.545 GB Notification: Performance of Templates: time 0.09622/2.02, allocations: 55.86 MB / 0.9888 GB, free: 145.6 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches