Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 103.5 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3325/0.3325, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 59.91 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3626, allocations: 60.8 MB / 0.5064 GB, free: 38.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.0807/0.4434, allocations: 99.68 MB / 0.6037 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05314/0.4966, allocations: 19.05 MB / 0.6223 GB, free: 9.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02709/0.5237, allocations: 431 kB / 0.6227 GB, free: 8.598 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.5345, allocations: 5.038 MB / 0.6277 GB, free: 3.547 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.5456, allocations: 2.444 MB / 0.6301 GB, free: 1.094 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.5497, allocations: 1.166 MB / 0.6312 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01606/0.5658, allocations: 11.53 MB / 0.6425 GB, free: 4.371 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00957/0.5755, allocations: 5.933 MB / 0.6482 GB, free: 14.36 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/0.5813, allocations: 2.285 MB / 0.6505 GB, free: 12.06 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007927/0.5893, allocations: 3.746 MB / 0.6541 GB, free: 8.305 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002176/0.5915, allocations: 396 kB / 0.6545 GB, free: 7.918 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004712/0.5962, allocations: 1.494 MB / 0.656 GB, free: 6.422 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004803/0.6011, allocations: 3.113 MB / 0.659 GB, free: 3.301 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006893/0.608, allocations: 3.425 MB / 0.6624 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.622, allocations: 10.74 MB / 0.6729 GB, free: 5.078 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.6221, allocations: 4 kB / 0.6729 GB, free: 5.074 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.6221, allocations: 0 / 0.6729 GB, free: 5.074 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004022/0.6225, allocations: 3.938 kB / 0.6729 GB, free: 5.07 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.3369/0.9595, allocations: 7.708 MB / 0.6804 GB, free: 134.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.9595, allocations: 8.906 kB / 0.6804 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.9762, allocations: 3.113 MB / 0.6834 GB, free: 133.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/0.9897, allocations: 4.877 MB / 0.6882 GB, free: 131.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/0.99, allocations: 376.5 kB / 0.6886 GB, free: 131.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.9917, allocations: 497 kB / 0.689 GB, free: 131.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/1.017, allocations: 14.86 MB / 0.7035 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003153/1.018, allocations: 70.12 kB / 0.7036 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000899/1.019, allocations: 233.3 kB / 0.7038 GB, free: 124.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004841/1.023, allocations: 2.721 MB / 0.7065 GB, free: 124.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03009/1.054, allocations: 12.31 MB / 0.7185 GB, free: 120.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08999/1.144, allocations: 57.39 MB / 0.7746 GB, free: 62.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.154, allocations: 4.65 MB / 0.7791 GB, free: 57.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/1.158, allocations: 2.903 MB / 0.7819 GB, free: 55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/1.158, allocations: 36.95 kB / 0.782 GB, free: 54.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.158, allocations: 55.56 kB / 0.782 GB, free: 54.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=186): time 4.799e-06/1.158, allocations: 0 / 0.782 GB, free: 54.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=204): time 0.05917/1.217, allocations: 23.31 MB / 0.8048 GB, free: 31.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/1.217, allocations: 252.8 kB / 0.805 GB, free: 31.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009285/1.227, allocations: 6.736 MB / 0.8116 GB, free: 24.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004789/1.227, allocations: 57.7 kB / 0.8117 GB, free: 24.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.229, allocations: 4.612 MB / 0.8162 GB, free: 19.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008346/1.23, allocations: 0.8219 MB / 0.817 GB, free: 18.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/1.232, allocations: 1.692 MB / 0.8186 GB, free: 17.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/1.232, allocations: 301.1 kB / 0.8189 GB, free: 16.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.235, allocations: 2.909 MB / 0.8217 GB, free: 13.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/1.24, allocations: 7.863 MB / 0.8294 GB, free: 3.516 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.253, allocations: 11.52 MB / 0.8407 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/1.253, allocations: 52 kB / 0.8407 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.02077/1.274, allocations: 11.98 MB / 0.8524 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.274, allocations: 80.19 kB / 0.8525 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/1.274, allocations: 176 kB / 0.8527 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004527/1.279, allocations: 1.775 MB / 0.8544 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005471/1.284, allocations: 1.864 MB / 0.8562 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/1.298, allocations: 11.74 MB / 0.8677 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/1.305, allocations: 467.2 kB / 0.8681 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.306, allocations: 496 kB / 0.8686 GB, free: 8.516 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.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 (996): * Single equations (assignments): 990 * 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.005002/1.311, allocations: 3.054 MB / 0.8716 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.312, allocations: 0.5398 MB / 0.8721 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008999/1.321, allocations: 4.869 MB / 0.8769 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2562/1.577, allocations: 21.11 kB / 0.8769 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.056e-05/1.578, allocations: 8.156 kB / 0.8769 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.257e-05/1.578, allocations: 7.281 kB / 0.8769 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/1.599, allocations: 11.26 MB / 0.8879 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.599, allocations: 3.125 kB / 0.8879 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.601, allocations: 320.6 kB / 0.8882 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003726/1.604, allocations: 1.497 MB / 0.8897 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/1.604, allocations: 38.73 kB / 0.8897 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/1.616, allocations: 10.83 MB / 0.9003 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.616, allocations: 3.281 kB / 0.9003 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08936/1.705, allocations: 51.49 MB / 0.9506 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.707, allocations: 0.6137 MB / 0.9512 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006843/1.707, allocations: 32 kB / 0.9512 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.709, allocations: 143.8 kB / 0.9514 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000446/1.71, allocations: 125 kB / 0.9515 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.71, allocations: 55.98 kB / 0.9515 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005574/1.716, allocations: 4.285 MB / 0.9557 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/1.716, allocations: 0 / 0.9557 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008755/1.724, allocations: 2.038 MB / 0.9577 GB, free: 117.4 MB / 0.5261 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.0005287/1.725, allocations: 176.9 kB / 0.9579 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009281/1.734, allocations: 7.115 MB / 0.9648 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.734, allocations: 0 / 0.9648 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002525/1.737, allocations: 2.289 MB / 0.9671 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005258/1.742, allocations: 0.7331 MB / 0.9678 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02524/1.767, allocations: 18.81 MB / 0.9861 GB, free: 88.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006346/1.774, allocations: 4.732 MB / 0.9908 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006455/1.78, allocations: 2.523 MB / 0.9932 GB, free: 81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.782, allocations: 363.4 kB / 0.9936 GB, free: 80.65 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/1.782, allocations: 3.938 kB / 0.9936 GB, free: 80.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.1049/1.886, allocations: 68.51 MB / 1.06 GB, free: 12.4 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches