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.001045/0.001045, allocations: 91.77 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.001454/0.001454, allocations: 197.9 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.388/1.388, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003081, allocations: 11.98 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1514, allocations: 63.57 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3728/0.5242, allocations: 86.2 MB / 0.556 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04712/0.5714, allocations: 16.91 MB / 0.5725 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01831/0.5898, allocations: 383.1 kB / 0.5728 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.5922, allocations: 0.5868 MB / 0.5734 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007088/0.5994, allocations: 2.382 MB / 0.5757 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.6027, allocations: 1.034 MB / 0.5767 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01728/0.62, allocations: 11.41 MB / 0.5879 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/0.6339, allocations: 8.058 MB / 0.5957 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/0.6382, allocations: 1.813 MB / 0.5975 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005524/0.6438, allocations: 3.173 MB / 0.6006 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.6453, allocations: 212 kB / 0.6008 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/0.649, allocations: 1.307 MB / 0.6021 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004035/0.6531, allocations: 2.77 MB / 0.6048 GB, free: 9.871 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005344/0.6584, allocations: 3.033 MB / 0.6078 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.6716, allocations: 10.07 MB / 0.6176 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.6717, allocations: 0 / 0.6176 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.6717, allocations: 3.938 kB / 0.6176 GB, free: 12.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004132/0.6721, allocations: 4 kB / 0.6176 GB, free: 12.7 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.01534/0.6875, allocations: 6.192 MB / 0.6236 GB, free: 6.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.6875, allocations: 12.88 kB / 0.6237 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/0.7044, allocations: 3.139 MB / 0.6267 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.7159, allocations: 4.747 MB / 0.6314 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004251/0.7163, allocations: 369.7 kB / 0.6317 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/0.7185, allocations: 484 kB / 0.6322 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0272/0.7457, allocations: 14.32 MB / 0.6462 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002284/0.746, allocations: 75.31 kB / 0.6462 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007934/0.7468, allocations: 235.8 kB / 0.6465 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004363/0.7512, allocations: 2.539 MB / 0.6489 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/0.7786, allocations: 11.88 MB / 0.6605 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3876/1.166, allocations: 56.16 MB / 0.7154 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/1.179, allocations: 4.655 MB / 0.7199 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/1.184, allocations: 2.906 MB / 0.7228 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/1.184, allocations: 34.5 kB / 0.7228 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.184, allocations: 60.02 kB / 0.7229 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 5.571e-06/1.184, allocations: 0 / 0.7229 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.05918/1.243, allocations: 23.11 MB / 0.7454 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/1.243, allocations: 255.8 kB / 0.7457 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009866/1.253, allocations: 6.682 MB / 0.7522 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005252/1.254, allocations: 59.27 kB / 0.7522 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002854/1.257, allocations: 4.482 MB / 0.7566 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.258, allocations: 0.8206 MB / 0.7574 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009531/1.259, allocations: 0.7064 MB / 0.7581 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/1.259, allocations: 301.1 kB / 0.7584 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/1.263, allocations: 2.898 MB / 0.7612 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006261/1.269, allocations: 7.802 MB / 0.7689 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.28, allocations: 11.44 MB / 0.78 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/1.28, allocations: 52 kB / 0.7801 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02093/1.301, allocations: 11.93 MB / 0.7917 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.816e-05/1.301, allocations: 80 kB / 0.7918 GB, free: 88.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/1.301, allocations: 172 kB / 0.792 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004455/1.305, allocations: 1.781 MB / 0.7937 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006167/1.312, allocations: 1.836 MB / 0.7955 GB, free: 84.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/1.325, allocations: 11.77 MB / 0.807 GB, free: 72.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008753/1.334, allocations: 459.4 kB / 0.8074 GB, free: 71.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/1.336, allocations: 493 kB / 0.8079 GB, free: 71.51 MB / 0.5294 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.006246/1.342, allocations: 2.967 MB / 0.8108 GB, free: 68.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/1.344, allocations: 0.5399 MB / 0.8113 GB, free: 67.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/1.353, allocations: 4.868 MB / 0.8161 GB, free: 63.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/1.353, allocations: 24 kB / 0.8161 GB, free: 63.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/1.353, allocations: 15.88 kB / 0.8161 GB, free: 63.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/1.353, allocations: 11.95 kB / 0.8161 GB, free: 63.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/1.374, allocations: 11.12 MB / 0.827 GB, free: 51.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.374, allocations: 0 / 0.827 GB, free: 51.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/1.375, allocations: 323.5 kB / 0.8273 GB, free: 51.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/1.379, allocations: 1.493 MB / 0.8287 GB, free: 50.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/1.379, allocations: 36 kB / 0.8288 GB, free: 50.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.39, allocations: 10.85 MB / 0.8394 GB, free: 38.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.391, allocations: 0 / 0.8394 GB, free: 38.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.403, allocations: 7.98 MB / 0.8472 GB, free: 30.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/1.407, allocations: 0.615 MB / 0.8478 GB, free: 30.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002231/1.409, allocations: 37.66 kB / 0.8478 GB, free: 30.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/1.413, allocations: 155.8 kB / 0.8479 GB, free: 29.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006773/1.413, allocations: 122 kB / 0.8481 GB, free: 29.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/1.414, allocations: 56.69 kB / 0.8481 GB, free: 29.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008402/1.422, allocations: 4.249 MB / 0.8523 GB, free: 25.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/1.422, allocations: 4 kB / 0.8523 GB, free: 25.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008601/1.431, allocations: 1.454 MB / 0.8537 GB, free: 24.09 MB / 0.5294 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.0005247/1.431, allocations: 168.3 kB / 0.8538 GB, free: 23.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.441, allocations: 7.099 MB / 0.8608 GB, free: 16.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.441, allocations: 192 / 0.8608 GB, free: 16.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002775/1.444, allocations: 2.292 MB / 0.863 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006869/1.451, allocations: 0.7103 MB / 0.8637 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/1.479, allocations: 16.59 MB / 0.8799 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008559/1.487, allocations: 4.524 MB / 0.8843 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007394/1.495, allocations: 2.483 MB / 0.8868 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.496, allocations: 347.4 kB / 0.8871 GB, free: 5.777 MB / 0.545 GB Notification: Performance of SimCode: time 1.834e-06/1.496, allocations: 0 / 0.8871 GB, free: 5.777 MB / 0.545 GB Notification: Performance of Templates: time 0.3972/1.893, allocations: 55.24 MB / 0.941 GB, free: 199.2 MB / 0.5762 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