Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 73.95 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1431, allocations: 62.44 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.4143/0.5574, allocations: 88.28 MB / 0.5545 GB, free: 7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05669/0.6141, allocations: 16.86 MB / 0.5709 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03512/0.6493, allocations: 391 kB / 0.5713 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.6596, allocations: 4.822 MB / 0.576 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009832/0.6695, allocations: 2.336 MB / 0.5783 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.6736, allocations: 1.166 MB / 0.5794 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01448/0.6881, allocations: 8.548 MB / 0.5878 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.6998, allocations: 6.286 MB / 0.5939 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00637/0.7062, allocations: 2.566 MB / 0.5964 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007502/0.7138, allocations: 3.844 MB / 0.6002 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003889/0.7177, allocations: 0.5352 MB / 0.6007 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005573/0.7233, allocations: 1.561 MB / 0.6022 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005627/0.729, allocations: 3.184 MB / 0.6053 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008931/0.738, allocations: 3.5 MB / 0.6087 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01853/0.7565, allocations: 10.6 MB / 0.6191 GB, free: 8.031 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.7566, allocations: 0 / 0.6191 GB, free: 8.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.548e-06/0.7566, allocations: 0 / 0.6191 GB, free: 8.031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005288/0.7571, allocations: 3.938 kB / 0.6191 GB, free: 8.027 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.02543/0.7826, allocations: 7.529 MB / 0.6265 GB, free: 424 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.7826, allocations: 12.02 kB / 0.6265 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/0.7991, allocations: 3.065 MB / 0.6295 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01829/0.8174, allocations: 4.744 MB / 0.6341 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006368/0.8181, allocations: 361.7 kB / 0.6344 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003159/0.8213, allocations: 488 kB / 0.6349 GB, free: 7.664 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04689/0.8682, allocations: 14.3 MB / 0.6489 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005829/0.8688, allocations: 75.27 kB / 0.6489 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002457/0.8713, allocations: 235.8 kB / 0.6492 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004907/0.8762, allocations: 2.535 MB / 0.6516 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02628/0.9025, allocations: 11.84 MB / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07905/0.9816, allocations: 56.12 MB / 0.718 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2884/1.27, allocations: 4.639 MB / 0.7225 GB, free: 195.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004028/1.274, allocations: 2.909 MB / 0.7254 GB, free: 194.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/1.274, allocations: 38.27 kB / 0.7254 GB, free: 194.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/1.274, allocations: 52.14 kB / 0.7255 GB, free: 194.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.809e-06/1.274, allocations: 0 / 0.7255 GB, free: 194.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=204): time 0.05865/1.333, allocations: 23.11 MB / 0.748 GB, free: 186.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.333, allocations: 259.6 kB / 0.7483 GB, free: 186 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008688/1.342, allocations: 6.673 MB / 0.7548 GB, free: 183.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007727/1.343, allocations: 57.3 kB / 0.7549 GB, free: 183.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002995/1.346, allocations: 4.485 MB / 0.7592 GB, free: 179.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/1.347, allocations: 0.8172 MB / 0.76 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/1.349, allocations: 1.669 MB / 0.7617 GB, free: 177 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/1.349, allocations: 301.1 kB / 0.7619 GB, free: 176.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/1.352, allocations: 2.896 MB / 0.7648 GB, free: 173.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005559/1.358, allocations: 7.792 MB / 0.7724 GB, free: 163.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/1.369, allocations: 11.43 MB / 0.7836 GB, free: 149.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/1.369, allocations: 52 kB / 0.7836 GB, free: 149.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02598/1.395, allocations: 11.91 MB / 0.7952 GB, free: 137.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002537/1.395, allocations: 83.56 kB / 0.7953 GB, free: 137.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000386/1.396, allocations: 172 kB / 0.7955 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00444/1.4, allocations: 1.767 MB / 0.7972 GB, free: 135.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005649/1.406, allocations: 1.836 MB / 0.799 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/1.419, allocations: 12.61 MB / 0.8113 GB, free: 121.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007651/1.427, allocations: 463.1 kB / 0.8118 GB, free: 120.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/1.428, allocations: 492 kB / 0.8122 GB, free: 120.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (987): * Single equations (assignments): 981 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006569/1.435, allocations: 2.969 MB / 0.8151 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001737/1.437, allocations: 0.5398 MB / 0.8157 GB, free: 116.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009704/1.446, allocations: 4.856 MB / 0.8204 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/1.446, allocations: 27.52 kB / 0.8204 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-05/1.446, allocations: 12 kB / 0.8204 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/1.447, allocations: 11.91 kB / 0.8204 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02285/1.469, allocations: 11.11 MB / 0.8313 GB, free: 100.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.469, allocations: 4 kB / 0.8313 GB, free: 100.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.471, allocations: 319.5 kB / 0.8316 GB, free: 100.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/1.475, allocations: 1.506 MB / 0.8331 GB, free: 98.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/1.475, allocations: 28 kB / 0.8331 GB, free: 98.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.486, allocations: 11.71 MB / 0.8445 GB, free: 86.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.486, allocations: 48 / 0.8445 GB, free: 86.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/1.497, allocations: 7.97 MB / 0.8523 GB, free: 78.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.499, allocations: 0.6046 MB / 0.8529 GB, free: 77.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.5, allocations: 39.92 kB / 0.8529 GB, free: 77.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/1.503, allocations: 140.6 kB / 0.8531 GB, free: 77.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005014/1.503, allocations: 125.2 kB / 0.8532 GB, free: 77.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.504, allocations: 55.94 kB / 0.8532 GB, free: 77.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007837/1.511, allocations: 4.253 MB / 0.8574 GB, free: 73.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/1.511, allocations: 0 / 0.8574 GB, free: 73.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009564/1.521, allocations: 1.457 MB / 0.8588 GB, free: 71.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0009392/1.522, allocations: 158.8 kB / 0.859 GB, free: 71.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.534, allocations: 7.89 MB / 0.8667 GB, free: 63.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.534, allocations: 4.125 kB / 0.8667 GB, free: 63.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002905/1.537, allocations: 2.285 MB / 0.8689 GB, free: 61.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006293/1.544, allocations: 0.7533 MB / 0.8697 GB, free: 60.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/1.57, allocations: 16.47 MB / 0.8857 GB, free: 44.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007391/1.577, allocations: 4.539 MB / 0.8902 GB, free: 39.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006778/1.584, allocations: 2.479 MB / 0.8926 GB, free: 37.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/1.586, allocations: 343.4 kB / 0.8929 GB, free: 36.91 MB / 0.545 GB Notification: Performance of SimCode: time 1.954e-06/1.586, allocations: 4 kB / 0.8929 GB, free: 36.9 MB / 0.545 GB Notification: Performance of Templates: time 0.3495/1.935, allocations: 58.3 MB / 0.9499 GB, free: 165.6 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches