Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 118.2 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002175/0.002175, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 247.1 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.12 MB / 344.5 MB, free: 11.69 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 85 kB / 417.8 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.121, allocations: 62.45 MB / 480.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.328/0.4491, allocations: 108.1 MB / 0.5745 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05564/0.5048, allocations: 20.28 MB / 0.5943 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02586/0.5307, allocations: 478.8 kB / 0.5948 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.5431, allocations: 6.064 MB / 0.6007 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008513/0.5517, allocations: 2.69 MB / 0.6033 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.556, allocations: 1.506 MB / 0.6048 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01633/0.5723, allocations: 10.61 MB / 0.6152 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.5846, allocations: 8.414 MB / 0.6234 GB, free: 4.297 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006654/0.5913, allocations: 3.182 MB / 0.6265 GB, free: 1.105 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007855/0.5992, allocations: 4.674 MB / 0.631 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002726/0.6019, allocations: 0.6797 MB / 0.6317 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/0.6071, allocations: 1.717 MB / 0.6334 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005978/0.6131, allocations: 3.87 MB / 0.6372 GB, free: 6.141 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009892/0.623, allocations: 4.231 MB / 0.6413 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.6378, allocations: 10.44 MB / 0.6515 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.6378, allocations: 0 / 0.6515 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6378, allocations: 0 / 0.6515 GB, free: 7.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000511/0.6383, allocations: 3.938 kB / 0.6515 GB, free: 7.418 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02757/0.6659, allocations: 9.03 MB / 0.6603 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.666, allocations: 16.03 kB / 0.6603 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.6845, allocations: 3.481 MB / 0.6637 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.699, allocations: 5.909 MB / 0.6695 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004728/0.6995, allocations: 440.1 kB / 0.6699 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002513/0.702, allocations: 0.601 MB / 0.6705 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03785/0.7399, allocations: 17.11 MB / 0.6872 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003829/0.7403, allocations: 83.2 kB / 0.6873 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001805/0.7421, allocations: 279.8 kB / 0.6876 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005812/0.748, allocations: 2.897 MB / 0.6904 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4273/1.175, allocations: 14.34 MB / 0.7044 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07527/1.251, allocations: 64.72 MB / 0.7676 GB, free: 131 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01623/1.267, allocations: 6.619 MB / 0.774 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004313/1.271, allocations: 3.886 MB / 0.7778 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/1.272, allocations: 0.6496 MB / 0.7785 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/1.272, allocations: 70.84 kB / 0.7785 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=231): time 5.651e-06/1.272, allocations: 0 / 0.7785 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=255): time 0.07551/1.347, allocations: 31.3 MB / 0.8091 GB, free: 92.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/1.348, allocations: 291 kB / 0.8094 GB, free: 91.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009241/1.357, allocations: 7.304 MB / 0.8165 GB, free: 84.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007286/1.358, allocations: 65.7 kB / 0.8166 GB, free: 84.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002729/1.36, allocations: 5.091 MB / 0.8216 GB, free: 79.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.362, allocations: 1.002 MB / 0.8225 GB, free: 78.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002304/1.364, allocations: 1.843 MB / 0.8243 GB, free: 76.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/1.364, allocations: 301.1 kB / 0.8246 GB, free: 76.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003874/1.368, allocations: 3.43 MB / 0.828 GB, free: 72.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006857/1.375, allocations: 8.611 MB / 0.8364 GB, free: 61.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.387, allocations: 12.86 MB / 0.8489 GB, free: 46.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001829/1.387, allocations: 55.94 kB / 0.849 GB, free: 46.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.02438/1.411, allocations: 13.83 MB / 0.8625 GB, free: 32.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.411, allocations: 80.28 kB / 0.8626 GB, free: 32.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/1.411, allocations: 184 kB / 0.8627 GB, free: 31.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/1.417, allocations: 2.317 MB / 0.865 GB, free: 29.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/1.423, allocations: 2.027 MB / 0.867 GB, free: 27.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/1.439, allocations: 16.72 MB / 0.8833 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007627/1.447, allocations: 0.4955 MB / 0.8838 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/1.448, allocations: 0.5156 MB / 0.8843 GB, free: 9.293 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1086): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005558/1.454, allocations: 3.414 MB / 0.8876 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/1.455, allocations: 0.6055 MB / 0.8882 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.465, allocations: 6.453 MB / 0.8945 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/1.465, allocations: 31.59 kB / 0.8946 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.862e-05/1.465, allocations: 8 kB / 0.8946 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/1.465, allocations: 19.89 kB / 0.8946 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03053/1.496, allocations: 14.35 MB / 0.9086 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.496, allocations: 3.938 kB / 0.9086 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2633/1.759, allocations: 398.9 kB / 0.909 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00632/1.766, allocations: 2.008 MB / 0.9109 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005394/1.766, allocations: 42.52 kB / 0.911 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/1.785, allocations: 15.63 MB / 0.9262 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.785, allocations: 1.875 kB / 0.9262 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/1.802, allocations: 10.14 MB / 0.9362 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.804, allocations: 0.679 MB / 0.9368 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/1.806, allocations: 39.78 kB / 0.9369 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003205/1.809, allocations: 183.5 kB / 0.937 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007395/1.81, allocations: 151.4 kB / 0.9372 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/1.81, allocations: 65.83 kB / 0.9372 GB, free: 165.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008349/1.819, allocations: 4.677 MB / 0.9418 GB, free: 164.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.92e-07/1.819, allocations: 0 / 0.9418 GB, free: 164.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009476/1.828, allocations: 1.722 MB / 0.9435 GB, free: 164.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (195): * Single equations (assignments): 188 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000897/1.829, allocations: 182.7 kB / 0.9437 GB, free: 163.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01448/1.844, allocations: 9.721 MB / 0.9532 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.844, allocations: 4 kB / 0.9532 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003699/1.848, allocations: 2.936 MB / 0.956 GB, free: 157.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006331/1.854, allocations: 0.9189 MB / 0.9569 GB, free: 156.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/1.881, allocations: 20.21 MB / 0.9767 GB, free: 138.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006469/1.888, allocations: 5.193 MB / 0.9817 GB, free: 133.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/1.89, allocations: 455.4 kB / 0.9822 GB, free: 132.7 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/1.89, allocations: 0 / 0.9822 GB, free: 132.7 MB / 0.545 GB Notification: Performance of Templates: time 0.4588/2.349, allocations: 224 MB / 1.201 GB, free: 124 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches