Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.001449, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2596/0.2596, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4348, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01441/0.4493, allocations: 12.67 MB / 0.5434 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.4612, allocations: 4.496 MB / 0.5478 GB, free: 148 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/0.4646, allocations: 85.53 kB / 0.5478 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007531/0.4723, allocations: 3.712 MB / 0.5515 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008248/0.4806, allocations: 2.179 MB / 0.5536 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.4837, allocations: 0.9982 MB / 0.5546 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01078/0.4945, allocations: 6.046 MB / 0.5605 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007212/0.5018, allocations: 4.558 MB / 0.5649 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.5059, allocations: 1.951 MB / 0.5668 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004723/0.5106, allocations: 2.605 MB / 0.5694 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.5123, allocations: 408 kB / 0.5698 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.5166, allocations: 1.447 MB / 0.5712 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004029/0.5206, allocations: 2.42 MB / 0.5735 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006613/0.5273, allocations: 2.707 MB / 0.5762 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.015/0.5423, allocations: 8.658 MB / 0.5846 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.5423, allocations: 0 / 0.5846 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5424, allocations: 0 / 0.5846 GB, free: 10.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003889/0.5428, allocations: 0 / 0.5846 GB, free: 10.57 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01689/0.5597, allocations: 6.171 MB / 0.5907 GB, free: 4.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5597, allocations: 12.03 kB / 0.5907 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.5718, allocations: 2.575 MB / 0.5932 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009807/0.5816, allocations: 3.756 MB / 0.5969 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.582, allocations: 279.5 kB / 0.5971 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.5839, allocations: 383.7 kB / 0.5975 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0268/0.6107, allocations: 11.61 MB / 0.6088 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003775/0.6111, allocations: 63.47 kB / 0.6089 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001838/0.613, allocations: 183.8 kB / 0.6091 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004201/0.6172, allocations: 2.151 MB / 0.6112 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.6404, allocations: 9.629 MB / 0.6206 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06623/0.7067, allocations: 45.85 MB / 0.6653 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.7177, allocations: 3.916 MB / 0.6692 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/0.7208, allocations: 2.145 MB / 0.6713 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.7324, allocations: 5.892 MB / 0.677 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.7325, allocations: 44.11 kB / 0.6771 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 6.994e-06/0.7325, allocations: 0 / 0.6771 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04996/0.7825, allocations: 17.7 MB / 0.6943 GB, free: 7.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.7826, allocations: 222.1 kB / 0.6946 GB, free: 7.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/0.7933, allocations: 5.636 MB / 0.7001 GB, free: 1.613 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004363/0.7938, allocations: 49.7 kB / 0.7001 GB, free: 1.559 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003587/0.7974, allocations: 3.853 MB / 0.7039 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.7986, allocations: 0.6903 MB / 0.7045 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003535/0.8022, allocations: 1.413 MB / 0.7059 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8024, allocations: 309.1 kB / 0.7062 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004278/0.8066, allocations: 2.289 MB / 0.7085 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007652/0.8143, allocations: 6.547 MB / 0.7148 GB, free: 292 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.362/1.176, allocations: 9.516 MB / 0.7241 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001907/1.177, allocations: 46.84 kB / 0.7242 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01831/1.195, allocations: 9.601 MB / 0.7336 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/1.195, allocations: 73.77 kB / 0.7336 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002525/1.195, allocations: 152.2 kB / 0.7338 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/1.198, allocations: 1.228 MB / 0.735 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004793/1.203, allocations: 1.562 MB / 0.7365 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009145/1.212, allocations: 8.469 MB / 0.7448 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006096/1.219, allocations: 365 kB / 0.7451 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.22, allocations: 423.8 kB / 0.7455 GB, free: 141.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (836): * Single equations (assignments): 829 * Array equations: 5 * 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 {(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.004842/1.225, allocations: 2.469 MB / 0.7479 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.226, allocations: 473.8 kB / 0.7484 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006198/1.232, allocations: 3.399 MB / 0.7517 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/1.232, allocations: 18.81 kB / 0.7517 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.232, allocations: 8 kB / 0.7517 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.232, allocations: 3.984 kB / 0.7517 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.247, allocations: 8.192 MB / 0.7597 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-05/1.247, allocations: 8 kB / 0.7597 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.249, allocations: 259.5 kB / 0.76 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/1.251, allocations: 0.9981 MB / 0.761 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/1.252, allocations: 38.92 kB / 0.761 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007399/1.259, allocations: 7.795 MB / 0.7686 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.259, allocations: 4 kB / 0.7686 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007646/1.267, allocations: 5.878 MB / 0.7744 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.268, allocations: 0.5382 MB / 0.7749 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.269, allocations: 39.94 kB / 0.7749 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.271, allocations: 89.42 kB / 0.775 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/1.271, allocations: 96.81 kB / 0.7751 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.272, allocations: 51.94 kB / 0.7752 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006307/1.278, allocations: 3.596 MB / 0.7787 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.278, allocations: 0 / 0.7787 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007294/1.285, allocations: 1.153 MB / 0.7798 GB, free: 106.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (120): * Single equations (assignments): 115 * 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 {(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.000741/1.286, allocations: 150.4 kB / 0.7799 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00843/1.294, allocations: 5.559 MB / 0.7854 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.295, allocations: 0 / 0.7854 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/1.297, allocations: 1.626 MB / 0.7869 GB, free: 99.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005976/1.303, allocations: 0.6017 MB / 0.7875 GB, free: 98.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.321, allocations: 10.92 MB / 0.7982 GB, free: 87.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005228/1.327, allocations: 3.779 MB / 0.8019 GB, free: 83.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004329/1.331, allocations: 2.112 MB / 0.804 GB, free: 81.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008978/1.332, allocations: 291.4 kB / 0.8042 GB, free: 81.52 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/1.332, allocations: 0 / 0.8042 GB, free: 81.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.06681/1.399, allocations: 40.63 MB / 0.8439 GB, free: 41.14 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches