Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002291/0.002299, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 98.84 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3094/0.3094, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006266/0.0006267, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1215, allocations: 58.87 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.4545/0.576, allocations: 87.04 MB / 0.5637 GB, free: 13.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05697/0.6331, allocations: 19.43 MB / 0.5827 GB, free: 13.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02047/0.6536, allocations: 434.9 kB / 0.5831 GB, free: 13.24 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01681/0.6705, allocations: 4.394 MB / 0.5874 GB, free: 8.824 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05335/0.7239, allocations: 12.38 MB / 0.5995 GB, free: 12.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007669/0.7316, allocations: 1.006 MB / 0.6005 GB, free: 11.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.115/0.8466, allocations: 39.73 MB / 0.6393 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01949/0.8662, allocations: 7.459 MB / 0.6466 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005165/0.8714, allocations: 1.771 MB / 0.6483 GB, free: 10.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006043/0.8775, allocations: 2.477 MB / 0.6507 GB, free: 7.848 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.8795, allocations: 256 kB / 0.651 GB, free: 7.598 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004511/0.884, allocations: 1.104 MB / 0.652 GB, free: 6.492 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005422/0.8895, allocations: 2.856 MB / 0.6548 GB, free: 3.629 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003208/0.8928, allocations: 1.435 MB / 0.6562 GB, free: 2.184 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.9091, allocations: 9.722 MB / 0.6657 GB, free: 8.438 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.9092, allocations: 0 / 0.6657 GB, free: 8.438 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.9092, allocations: 7.875 kB / 0.6657 GB, free: 8.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004386/0.9096, allocations: 0 / 0.6657 GB, free: 8.43 MB / 474.7 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.02762/0.9373, allocations: 7.301 MB / 0.6729 GB, free: 1.047 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.9373, allocations: 12.03 kB / 0.6729 GB, free: 1.035 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1272/1.065, allocations: 11.21 MB / 0.6838 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/1.084, allocations: 5.664 MB / 0.6894 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/1.085, allocations: 406.4 kB / 0.6897 GB, free: 15.65 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003933/1.089, allocations: 0.5346 MB / 0.6903 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05306/1.142, allocations: 16.33 MB / 0.7062 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003541/1.143, allocations: 75.31 kB / 0.7063 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001767/1.144, allocations: 255.8 kB / 0.7065 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009564/1.154, allocations: 3.075 MB / 0.7095 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6927/1.847, allocations: 13.4 MB / 0.7226 GB, free: 180.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1118/1.959, allocations: 61.93 MB / 0.7831 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02318/1.982, allocations: 5.942 MB / 0.7889 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/1.982, allocations: 52.39 kB / 0.7889 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.982, allocations: 64.08 kB / 0.789 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 6.733e-06/1.982, allocations: 0 / 0.789 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.1097/2.092, allocations: 24.02 MB / 0.8125 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/2.092, allocations: 259.2 kB / 0.8127 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02343/2.116, allocations: 7.39 MB / 0.8199 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008568/2.117, allocations: 69.7 kB / 0.82 GB, free: 99.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005847/2.123, allocations: 4.78 MB / 0.8247 GB, free: 94.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002205/2.125, allocations: 1.03 MB / 0.8257 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/2.127, allocations: 172 kB / 0.8258 GB, free: 93.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001104/2.128, allocations: 0.6783 MB / 0.8265 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01152/2.139, allocations: 3.056 MB / 0.8295 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/2.151, allocations: 8.29 MB / 0.8376 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/2.163, allocations: 4.919 MB / 0.8424 GB, free: 74.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001957/2.163, allocations: 56 kB / 0.8424 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03107/2.194, allocations: 11.58 MB / 0.8537 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/2.194, allocations: 88.12 kB / 0.8538 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002521/2.195, allocations: 191.9 kB / 0.854 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00432/2.199, allocations: 1.058 MB / 0.855 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01273/2.212, allocations: 2.004 MB / 0.857 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/2.229, allocations: 9.812 MB / 0.8666 GB, free: 48.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009933/2.239, allocations: 491.3 kB / 0.8671 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/2.24, allocations: 0.5161 MB / 0.8676 GB, free: 47.9 MB / 0.5105 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 (1053): * Single equations (assignments): 1047 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008416/2.249, allocations: 3.325 MB / 0.8708 GB, free: 44.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/2.25, allocations: 0.5939 MB / 0.8714 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/2.265, allocations: 4.884 MB / 0.8762 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.575e-05/2.265, allocations: 32 kB / 0.8762 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.909e-05/2.265, allocations: 4 kB / 0.8762 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-05/2.265, allocations: 19.95 kB / 0.8762 GB, free: 39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03599/2.301, allocations: 12.29 MB / 0.8882 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-05/2.301, allocations: 4 kB / 0.8882 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004556/2.306, allocations: 455.3 kB / 0.8886 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003653/2.309, allocations: 0.7445 MB / 0.8894 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00065/2.31, allocations: 48.53 kB / 0.8894 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/2.325, allocations: 8.85 MB / 0.8981 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/2.325, allocations: 7.969 kB / 0.8981 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02122/2.346, allocations: 8.525 MB / 0.9064 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004332/2.351, allocations: 1.048 MB / 0.9074 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/2.353, allocations: 51.98 kB / 0.9075 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005455/2.358, allocations: 168.5 kB / 0.9076 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/2.359, allocations: 161.7 kB / 0.9078 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003139/2.36, allocations: 69.23 kB / 0.9078 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01195/2.372, allocations: 4.769 MB / 0.9125 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.21e-07/2.372, allocations: 0 / 0.9125 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.3665/2.738, allocations: 1.604 MB / 0.9141 GB, free: 165.2 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/2.739, allocations: 200.5 kB / 0.9143 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02244/2.762, allocations: 7.729 MB / 0.9218 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/2.762, allocations: 0 / 0.9218 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007639/2.77, allocations: 2.649 MB / 0.9244 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007159/2.777, allocations: 0.7639 MB / 0.9251 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04686/2.824, allocations: 18.62 MB / 0.9433 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/2.836, allocations: 5.226 MB / 0.9484 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003198/2.839, allocations: 468.8 kB / 0.9489 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.703e-06/2.839, allocations: 0 / 0.9489 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.6803/3.52, allocations: 178.9 MB / 1.124 GB, free: 176.2 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches