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.001125/0.001125, allocations: 108.2 kB / 17.04 MB, free: 5.812 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.001197/0.001198, allocations: 195 kB / 17.97 MB, free: 5.027 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.387/1.387, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.1997/0.1997, allocations: 43.52 MB / 314.7 MB, free: 492 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.001647/0.001647, allocations: 65.59 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1379, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01837/0.1564, allocations: 17.65 MB / 459.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.1705, allocations: 5.366 MB / 465 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005986/0.1766, allocations: 115.7 kB / 465.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.1872, allocations: 5.089 MB / 470.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00989/0.1972, allocations: 2.847 MB / 473 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.201, allocations: 1.252 MB / 474.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01521/0.2162, allocations: 7.914 MB / 482.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.2266, allocations: 6.253 MB / 488.5 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006839/0.2335, allocations: 2.761 MB / 491.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008967/0.2425, allocations: 3.855 MB / 495.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00318/0.2457, allocations: 0.6094 MB / 495.7 MB, free: 208 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005331/0.2511, allocations: 1.611 MB / 497.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007067/0.2582, allocations: 3.511 MB / 0.4891 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.2682, allocations: 3.943 MB / 0.4929 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01995/0.2882, allocations: 12.34 MB / 0.505 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.2883, allocations: 0 / 0.505 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.2883, allocations: 0 / 0.505 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005898/0.2889, allocations: 0 / 0.505 GB, free: 10.72 MB / 398.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.02822/0.3172, allocations: 8.322 MB / 0.5131 GB, free: 2.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/0.3172, allocations: 8.031 kB / 0.5131 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.334, allocations: 3.209 MB / 0.5162 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/0.3489, allocations: 5.318 MB / 0.5214 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00057/0.3496, allocations: 406.7 kB / 0.5218 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002905/0.3525, allocations: 0.5388 MB / 0.5223 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5265/0.879, allocations: 16.37 MB / 0.5383 GB, free: 76.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003318/0.8794, allocations: 76.66 kB / 0.5384 GB, free: 76.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001051/0.8805, allocations: 256.2 kB / 0.5387 GB, free: 76.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006724/0.8872, allocations: 3.076 MB / 0.5417 GB, free: 76.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03242/0.9197, allocations: 13.65 MB / 0.555 GB, free: 71.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07412/0.9938, allocations: 62.11 MB / 0.6156 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/1.006, allocations: 6.104 MB / 0.6216 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/1.01, allocations: 3.422 MB / 0.6249 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/1.01, allocations: 49.05 kB / 0.625 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/1.01, allocations: 60.12 kB / 0.625 GB, free: 0.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 6.152e-06/1.01, allocations: 4 kB / 0.6251 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.0696/1.08, allocations: 26.31 MB / 0.6507 GB, free: 6.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001988/1.08, allocations: 261.2 kB / 0.651 GB, free: 5.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/1.092, allocations: 7.039 MB / 0.6579 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.094, allocations: 61.7 kB / 0.6579 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004513/1.098, allocations: 4.965 MB / 0.6628 GB, free: 9.836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001896/1.1, allocations: 1.038 MB / 0.6638 GB, free: 8.785 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002919/1.103, allocations: 1.851 MB / 0.6656 GB, free: 6.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/1.103, allocations: 305 kB / 0.6659 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005627/1.109, allocations: 3.41 MB / 0.6692 GB, free: 3.203 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009554/1.118, allocations: 8.709 MB / 0.6777 GB, free: 7.875 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/1.136, allocations: 12.99 MB / 0.6904 GB, free: 8.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/1.136, allocations: 56 kB / 0.6905 GB, free: 8.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03146/1.167, allocations: 13.41 MB / 0.7036 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000156/1.168, allocations: 84 kB / 0.7036 GB, free: 10.71 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/1.168, allocations: 184 kB / 0.7038 GB, free: 10.53 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004886/1.173, allocations: 1.791 MB / 0.7056 GB, free: 8.73 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008021/1.181, allocations: 2.086 MB / 0.7076 GB, free: 6.641 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/1.197, allocations: 12.63 MB / 0.7199 GB, free: 9.609 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009411/1.206, allocations: 0.5109 MB / 0.7204 GB, free: 9.098 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/1.208, allocations: 0.5234 MB / 0.7209 GB, free: 8.574 MB / 0.5138 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.007785/1.216, allocations: 3.326 MB / 0.7242 GB, free: 5.234 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/1.218, allocations: 0.5862 MB / 0.7248 GB, free: 4.641 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3095/1.527, allocations: 5.978 MB / 0.7306 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-05/1.527, allocations: 29.81 kB / 0.7306 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.663e-05/1.527, allocations: 15.83 kB / 0.7306 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-05/1.527, allocations: 11.39 kB / 0.7306 GB, free: 168.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03098/1.558, allocations: 13.32 MB / 0.7437 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.558, allocations: 1.656 kB / 0.7437 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.561, allocations: 458.3 kB / 0.7441 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004672/1.566, allocations: 1.505 MB / 0.7456 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004841/1.566, allocations: 48.23 kB / 0.7456 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.579, allocations: 11.69 MB / 0.757 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.579, allocations: 5.266 kB / 0.757 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/1.595, allocations: 9.738 MB / 0.7665 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003796/1.599, allocations: 1.067 MB / 0.7676 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.6, allocations: 48.23 kB / 0.7676 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/1.603, allocations: 186 kB / 0.7678 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005326/1.603, allocations: 154.2 kB / 0.768 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.604, allocations: 75 kB / 0.768 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00764/1.611, allocations: 4.476 MB / 0.7724 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.1e-07/1.611, allocations: 3.938 kB / 0.7724 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009831/1.621, allocations: 1.671 MB / 0.774 GB, free: 152.7 MB / 0.5138 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.0007953/1.622, allocations: 187.5 kB / 0.7742 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.635, allocations: 8.36 MB / 0.7824 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.635, allocations: 4 kB / 0.7824 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003487/1.638, allocations: 2.853 MB / 0.7852 GB, free: 141.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/1.643, allocations: 0.8085 MB / 0.786 GB, free: 141 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.67, allocations: 15.54 MB / 0.8011 GB, free: 125.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007057/1.677, allocations: 5.061 MB / 0.8061 GB, free: 120.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006863/1.684, allocations: 2.793 MB / 0.8088 GB, free: 117.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.685, allocations: 395.4 kB / 0.8092 GB, free: 117.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.794e-06/1.685, allocations: 7.938 kB / 0.8092 GB, free: 117.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.1007/1.786, allocations: 56.58 MB / 0.8644 GB, free: 61.08 MB / 0.5138 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 -s cvode -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