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.001794/0.001794, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002367/0.002368, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 79.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4258, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01622/0.4421, allocations: 13.65 MB / 0.5443 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.4543, allocations: 4.726 MB / 0.5489 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/0.4582, allocations: 91.16 kB / 0.549 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008502/0.4668, allocations: 4.458 MB / 0.5534 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007823/0.4746, allocations: 2.202 MB / 0.5555 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.4777, allocations: 1.146 MB / 0.5567 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.4883, allocations: 6.344 MB / 0.5629 GB, free: 1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007447/0.4958, allocations: 5.551 MB / 0.5683 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004249/0.5001, allocations: 2.228 MB / 0.5705 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00489/0.505, allocations: 2.948 MB / 0.5733 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001532/0.5066, allocations: 496 kB / 0.5738 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.5103, allocations: 1.51 MB / 0.5753 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003411/0.5138, allocations: 2.7 MB / 0.5779 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004277/0.518, allocations: 3.061 MB / 0.5809 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.5296, allocations: 9.71 MB / 0.5904 GB, free: 4.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5296, allocations: 0 / 0.5904 GB, free: 4.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5297, allocations: 0 / 0.5904 GB, free: 4.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002439/0.5299, allocations: 0 / 0.5904 GB, free: 4.672 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.0154/0.5453, allocations: 6.68 MB / 0.5969 GB, free: 13.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.5454, allocations: 13.11 kB / 0.5969 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.5571, allocations: 2.571 MB / 0.5994 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009403/0.5665, allocations: 3.885 MB / 0.6032 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.5668, allocations: 333 kB / 0.6035 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.5684, allocations: 455.8 kB / 0.604 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/0.5965, allocations: 13.98 MB / 0.6176 GB, free: 7.793 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002231/0.5968, allocations: 63.42 kB / 0.6177 GB, free: 7.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/0.598, allocations: 211.8 kB / 0.6179 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004442/0.6024, allocations: 2.539 MB / 0.6204 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/0.6307, allocations: 12.14 MB / 0.6322 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07712/0.7079, allocations: 51.67 MB / 0.6827 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/0.7242, allocations: 6.23 MB / 0.6888 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005011/0.7293, allocations: 3.866 MB / 0.6925 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02245/0.7517, allocations: 13.23 MB / 0.7055 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/0.7518, allocations: 64.5 kB / 0.7055 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=228): time 5.892e-06/0.7518, allocations: 4 kB / 0.7055 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=270): time 0.4324/1.184, allocations: 29.43 MB / 0.7343 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/1.184, allocations: 216.2 kB / 0.7345 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006368/1.191, allocations: 4.951 MB / 0.7393 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007329/1.192, allocations: 68.02 kB / 0.7394 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002231/1.194, allocations: 3.796 MB / 0.7431 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.195, allocations: 1.009 MB / 0.7441 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00191/1.197, allocations: 1.516 MB / 0.7455 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.17e-05/1.197, allocations: 305.1 kB / 0.7458 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/1.201, allocations: 3.291 MB / 0.7491 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005184/1.206, allocations: 7.347 MB / 0.7562 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.218, allocations: 11.39 MB / 0.7673 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.684e-05/1.218, allocations: 44 kB / 0.7674 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01977/1.238, allocations: 12.5 MB / 0.7796 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/1.238, allocations: 64 kB / 0.7797 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/1.238, allocations: 144 kB / 0.7798 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005202/1.244, allocations: 2.246 MB / 0.782 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006234/1.25, allocations: 1.696 MB / 0.7836 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.265, allocations: 14.39 MB / 0.7977 GB, free: 95.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007648/1.272, allocations: 439.4 kB / 0.7981 GB, free: 95.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.274, allocations: 431.9 kB / 0.7985 GB, free: 94.9 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.004666/1.278, allocations: 2.692 MB / 0.8011 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.279, allocations: 446.2 kB / 0.8016 GB, free: 91.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.29, allocations: 6.996 MB / 0.8084 GB, free: 84.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.904e-05/1.29, allocations: 28 kB / 0.8084 GB, free: 84.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/1.29, allocations: 8 kB / 0.8084 GB, free: 84.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-05/1.29, allocations: 15.95 kB / 0.8085 GB, free: 84.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/1.312, allocations: 14.12 MB / 0.8222 GB, free: 70.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.313, allocations: 7.984 kB / 0.8223 GB, free: 70.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/1.315, allocations: 456.8 kB / 0.8227 GB, free: 70.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004742/1.32, allocations: 2.037 MB / 0.8247 GB, free: 68.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000435/1.32, allocations: 44 kB / 0.8247 GB, free: 68.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/1.334, allocations: 13.74 MB / 0.8381 GB, free: 54.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.334, allocations: 0 / 0.8381 GB, free: 54.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/1.349, allocations: 10.99 MB / 0.8489 GB, free: 42.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.351, allocations: 0.4991 MB / 0.8494 GB, free: 42.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/1.352, allocations: 52.06 kB / 0.8494 GB, free: 42.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.354, allocations: 203.7 kB / 0.8496 GB, free: 42.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/1.354, allocations: 157.7 kB / 0.8498 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.354, allocations: 75.34 kB / 0.8498 GB, free: 41.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003761/1.358, allocations: 3.114 MB / 0.8529 GB, free: 38.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/1.358, allocations: 0 / 0.8529 GB, free: 38.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006887/1.365, allocations: 1.428 MB / 0.8543 GB, free: 37.43 MB / 0.5606 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 (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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006801/1.366, allocations: 187.6 kB / 0.8544 GB, free: 37.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.376, allocations: 8.042 MB / 0.8623 GB, free: 29.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.376, allocations: 0 / 0.8623 GB, free: 29.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004764/1.381, allocations: 3.436 MB / 0.8656 GB, free: 25.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.384, allocations: 0.6225 MB / 0.8663 GB, free: 25.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/1.405, allocations: 13.36 MB / 0.8793 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.409, allocations: 4.185 MB / 0.8834 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005104/1.414, allocations: 2.293 MB / 0.8856 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.415, allocations: 323.4 kB / 0.8859 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/1.415, allocations: 0 / 0.8859 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of Templates: time 0.1046/1.52, allocations: 57.11 MB / 0.9417 GB, free: 12.16 MB / 0.6231 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