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.0009377/0.0009377, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1557, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3789/0.5346, allocations: 70.88 MB / 0.541 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03707/0.5717, allocations: 14.34 MB / 0.555 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01744/0.5892, allocations: 317.5 kB / 0.5553 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.5915, allocations: 0.5413 MB / 0.5558 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006065/0.5976, allocations: 2.063 MB / 0.5578 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.5998, allocations: 0.9426 MB / 0.5588 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01126/0.6111, allocations: 9.165 MB / 0.5677 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.6234, allocations: 7.763 MB / 0.5753 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005258/0.6287, allocations: 1.579 MB / 0.5768 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/0.6337, allocations: 2.624 MB / 0.5794 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009256/0.6347, allocations: 192 kB / 0.5796 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.6377, allocations: 1.275 MB / 0.5808 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.6404, allocations: 2.333 MB / 0.5831 GB, free: 184 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003323/0.6437, allocations: 2.649 MB / 0.5857 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009986/0.6537, allocations: 9.023 MB / 0.5945 GB, free: 4.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6538, allocations: 0 / 0.5945 GB, free: 4.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6538, allocations: 0 / 0.5945 GB, free: 4.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002722/0.6541, allocations: 0 / 0.5945 GB, free: 4.453 MB / 430.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.0123/0.6664, allocations: 5.479 MB / 0.5999 GB, free: 14.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.6665, allocations: 9.953 kB / 0.5999 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.6782, allocations: 2.637 MB / 0.6024 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00862/0.6869, allocations: 3.804 MB / 0.6062 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.6872, allocations: 337 kB / 0.6065 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.6884, allocations: 452 kB / 0.6069 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02749/0.7159, allocations: 14.01 MB / 0.6206 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/0.7161, allocations: 59.44 kB / 0.6206 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005618/0.7167, allocations: 207.8 kB / 0.6208 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004513/0.7212, allocations: 2.543 MB / 0.6233 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/0.746, allocations: 12.17 MB / 0.6352 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07195/0.818, allocations: 51.98 MB / 0.686 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/0.8348, allocations: 6.247 MB / 0.6921 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005139/0.84, allocations: 3.858 MB / 0.6958 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3388/1.179, allocations: 13.23 MB / 0.7088 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/1.179, allocations: 61.92 kB / 0.7088 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=228): time 5e-06/1.179, allocations: 0 / 0.7088 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=270): time 0.08078/1.26, allocations: 29.42 MB / 0.7375 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/1.26, allocations: 211.1 kB / 0.7377 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006332/1.266, allocations: 4.951 MB / 0.7426 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007266/1.267, allocations: 66.41 kB / 0.7426 GB, free: 168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001996/1.269, allocations: 3.799 MB / 0.7464 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.27, allocations: 1.012 MB / 0.7473 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/1.271, allocations: 0.6392 MB / 0.748 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.073e-05/1.271, allocations: 301.1 kB / 0.7483 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00399/1.275, allocations: 3.297 MB / 0.7515 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005938/1.281, allocations: 7.334 MB / 0.7586 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.293, allocations: 11.4 MB / 0.7698 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.293, allocations: 40 kB / 0.7698 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02168/1.315, allocations: 12.49 MB / 0.782 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/1.315, allocations: 68 kB / 0.7821 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.315, allocations: 140 kB / 0.7822 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005115/1.32, allocations: 2.245 MB / 0.7844 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005806/1.326, allocations: 1.696 MB / 0.7861 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/1.34, allocations: 13.46 MB / 0.7992 GB, free: 106 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006553/1.347, allocations: 439.4 kB / 0.7996 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.349, allocations: 439.8 kB / 0.8 GB, free: 105.1 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 (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.005143/1.354, allocations: 2.689 MB / 0.8027 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.355, allocations: 450.2 kB / 0.8031 GB, free: 102 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.366, allocations: 6.996 MB / 0.8099 GB, free: 94.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.316e-05/1.366, allocations: 28 kB / 0.81 GB, free: 94.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.366, allocations: 8 kB / 0.81 GB, free: 94.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/1.366, allocations: 11.95 kB / 0.81 GB, free: 94.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.388, allocations: 14.35 MB / 0.824 GB, free: 80.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/1.388, allocations: 4 kB / 0.824 GB, free: 80.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.391, allocations: 456.7 kB / 0.8244 GB, free: 80.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/1.396, allocations: 2.026 MB / 0.8264 GB, free: 78.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000459/1.396, allocations: 47.03 kB / 0.8265 GB, free: 78.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.41, allocations: 12.73 MB / 0.8389 GB, free: 65.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.41, allocations: 0 / 0.8389 GB, free: 65.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/1.425, allocations: 10.97 MB / 0.8496 GB, free: 54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.426, allocations: 0.5068 MB / 0.8501 GB, free: 53.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007829/1.427, allocations: 47.94 kB / 0.8501 GB, free: 53.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.43, allocations: 215.7 kB / 0.8503 GB, free: 53.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/1.43, allocations: 155.3 kB / 0.8505 GB, free: 53.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.43, allocations: 69.02 kB / 0.8506 GB, free: 52.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003846/1.434, allocations: 3.114 MB / 0.8536 GB, free: 49.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.434, allocations: 0 / 0.8536 GB, free: 49.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006923/1.441, allocations: 1.436 MB / 0.855 GB, free: 48.45 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 (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.000528/1.442, allocations: 180.9 kB / 0.8552 GB, free: 48.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.452, allocations: 8.018 MB / 0.863 GB, free: 40.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.452, allocations: 0 / 0.863 GB, free: 40.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004681/1.456, allocations: 3.424 MB / 0.8663 GB, free: 36.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/1.46, allocations: 0.5892 MB / 0.8669 GB, free: 36.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.479, allocations: 16.33 MB / 0.8829 GB, free: 19.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005518/1.485, allocations: 4.186 MB / 0.887 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005205/1.49, allocations: 2.297 MB / 0.8892 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000994/1.491, allocations: 315.4 kB / 0.8895 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/1.491, allocations: 0 / 0.8895 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of Templates: time 0.3429/1.834, allocations: 57.11 MB / 0.9453 GB, free: 164.3 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