Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 117.8 kB / 17.09 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 198.5 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2015/0.2015, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 73.45 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1134, allocations: 57.8 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01773/0.1312, allocations: 17.66 MB / 0.5058 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.1442, allocations: 5.381 MB / 0.5111 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003946/0.1482, allocations: 115.7 kB / 0.5112 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.1582, allocations: 5.093 MB / 0.5162 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008578/0.1669, allocations: 2.844 MB / 0.519 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.1702, allocations: 1.248 MB / 0.5202 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01271/0.1829, allocations: 7.916 MB / 0.5279 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2604/0.4433, allocations: 6.241 MB / 0.534 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005553/0.4489, allocations: 2.767 MB / 0.5367 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007025/0.456, allocations: 3.863 MB / 0.5405 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003753/0.4598, allocations: 0.6078 MB / 0.5411 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005331/0.4651, allocations: 1.609 MB / 0.5426 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005962/0.4711, allocations: 3.543 MB / 0.5461 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008866/0.48, allocations: 3.937 MB / 0.5499 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01721/0.4973, allocations: 12.35 MB / 0.562 GB, free: 1.242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.4973, allocations: 0 / 0.562 GB, free: 1.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4973, allocations: 0 / 0.562 GB, free: 1.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004895/0.4978, allocations: 5.969 kB / 0.562 GB, free: 1.238 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.0246/0.5224, allocations: 8.321 MB / 0.5701 GB, free: 11.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5225, allocations: 9.125 kB / 0.5701 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/0.5393, allocations: 3.212 MB / 0.5733 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.5514, allocations: 5.303 MB / 0.5785 GB, free: 7.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.5517, allocations: 409.1 kB / 0.5788 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.5539, allocations: 0.5302 MB / 0.5794 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03287/0.5867, allocations: 16.39 MB / 0.5954 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003124/0.5871, allocations: 81.27 kB / 0.5954 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.5887, allocations: 254.8 kB / 0.5957 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005394/0.5941, allocations: 3.073 MB / 0.5987 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02874/0.6229, allocations: 13.65 MB / 0.612 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08872/0.7117, allocations: 62.09 MB / 0.6727 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/0.7269, allocations: 6.124 MB / 0.6786 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00535/0.7323, allocations: 3.421 MB / 0.682 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.7326, allocations: 43.77 kB / 0.682 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.507e-05/0.7327, allocations: 66.75 kB / 0.6821 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 7.695e-06/0.7327, allocations: 0 / 0.6821 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.07751/0.8103, allocations: 26.3 MB / 0.7078 GB, free: 2.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.8105, allocations: 263.9 kB / 0.708 GB, free: 2.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0153/0.8258, allocations: 7.036 MB / 0.7149 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007835/0.8266, allocations: 73.7 kB / 0.715 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004559/0.8312, allocations: 4.961 MB / 0.7198 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/0.8331, allocations: 1.037 MB / 0.7208 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005997/0.8391, allocations: 1.839 MB / 0.7226 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8392, allocations: 313.1 kB / 0.7229 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00656/0.8458, allocations: 3.408 MB / 0.7262 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/0.8564, allocations: 8.71 MB / 0.7347 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/0.8728, allocations: 12.98 MB / 0.7474 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/0.873, allocations: 52 kB / 0.7475 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.2875/1.161, allocations: 13.4 MB / 0.7606 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/1.161, allocations: 87.95 kB / 0.7606 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005434/1.161, allocations: 189.2 kB / 0.7608 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006278/1.168, allocations: 1.792 MB / 0.7626 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/1.176, allocations: 2.086 MB / 0.7646 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/1.191, allocations: 12.63 MB / 0.7769 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008088/1.199, allocations: 0.5019 MB / 0.7774 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/1.201, allocations: 0.5275 MB / 0.778 GB, free: 186.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (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 (1110): * Single equations (assignments): 1104 * 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.008729/1.21, allocations: 3.327 MB / 0.7812 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/1.212, allocations: 0.5897 MB / 0.7818 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.223, allocations: 5.985 MB / 0.7876 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.035e-05/1.223, allocations: 31.59 kB / 0.7877 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.689e-05/1.223, allocations: 11.47 kB / 0.7877 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.061e-05/1.223, allocations: 11.81 kB / 0.7877 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0308/1.254, allocations: 13.32 MB / 0.8007 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/1.254, allocations: 0.9844 kB / 0.8007 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.256, allocations: 458 kB / 0.8011 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004272/1.261, allocations: 1.499 MB / 0.8026 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007476/1.261, allocations: 55.02 kB / 0.8026 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.274, allocations: 11.69 MB / 0.8141 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.274, allocations: 0 / 0.8141 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/1.291, allocations: 9.733 MB / 0.8236 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003445/1.295, allocations: 1.075 MB / 0.8246 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003088/1.298, allocations: 44 kB / 0.8247 GB, free: 156.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004242/1.302, allocations: 184.4 kB / 0.8248 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009928/1.303, allocations: 165.7 kB / 0.825 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005933/1.304, allocations: 68.73 kB / 0.8251 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009772/1.313, allocations: 4.476 MB / 0.8294 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.91e-07/1.313, allocations: 2.625 kB / 0.8294 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01134/1.325, allocations: 1.674 MB / 0.8311 GB, free: 149.7 MB / 0.5919 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 (219): * Single equations (assignments): 213 * 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.001181/1.326, allocations: 184.2 kB / 0.8312 GB, free: 149.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.014/1.34, allocations: 8.359 MB / 0.8394 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.34, allocations: 0.8438 kB / 0.8394 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004266/1.344, allocations: 2.846 MB / 0.8422 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00787/1.352, allocations: 0.8091 MB / 0.843 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/1.388, allocations: 16.18 MB / 0.8588 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00966/1.397, allocations: 5.024 MB / 0.8637 GB, free: 116.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/1.4, allocations: 463.4 kB / 0.8641 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/1.4, allocations: 0 / 0.8641 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.466/1.866, allocations: 188.9 MB / 1.049 GB, free: 143.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches