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.001176/0.001176, allocations: 114.3 kB / 17.08 MB, free: 6.02 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.001118/0.001118, allocations: 197.3 kB / 18.01 MB, free: 5.098 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.32/1.32, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2063/0.2063, allocations: 43.52 MB / 314.8 MB, free: 472 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.001415/0.001415, allocations: 67.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1151, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01785/0.133, allocations: 17.67 MB / 0.5058 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1441, allocations: 5.374 MB / 0.5111 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.1471, allocations: 115.7 kB / 0.5112 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009324/0.1565, allocations: 5.085 MB / 0.5162 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007282/0.1639, allocations: 2.851 MB / 0.5189 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.167, allocations: 1.244 MB / 0.5202 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.1782, allocations: 7.92 MB / 0.5279 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2259/0.4042, allocations: 6.237 MB / 0.534 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005766/0.41, allocations: 2.777 MB / 0.5367 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00698/0.417, allocations: 3.854 MB / 0.5405 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00285/0.4199, allocations: 0.6085 MB / 0.5411 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/0.4257, allocations: 1.614 MB / 0.5426 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006566/0.4323, allocations: 3.542 MB / 0.5461 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009753/0.4421, allocations: 3.939 MB / 0.5499 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.4591, allocations: 12.34 MB / 0.562 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4592, allocations: 0 / 0.562 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.4592, allocations: 0 / 0.562 GB, free: 1.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004455/0.4596, allocations: 3.281 kB / 0.562 GB, free: 1.195 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.02359/0.4832, allocations: 8.327 MB / 0.5701 GB, free: 11.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4833, allocations: 9.156 kB / 0.5701 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.4998, allocations: 3.211 MB / 0.5733 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.5118, allocations: 5.306 MB / 0.5785 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003939/0.5123, allocations: 402.2 kB / 0.5788 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/0.5148, allocations: 0.5387 MB / 0.5794 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03285/0.5476, allocations: 16.39 MB / 0.5954 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00028/0.548, allocations: 74.92 kB / 0.5954 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00123/0.5492, allocations: 254.8 kB / 0.5957 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005221/0.5544, allocations: 3.077 MB / 0.5987 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/0.5825, allocations: 13.64 MB / 0.612 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08189/0.6645, allocations: 62.09 MB / 0.6726 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/0.6793, allocations: 6.123 MB / 0.6786 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005035/0.6843, allocations: 3.42 MB / 0.682 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.6846, allocations: 52.14 kB / 0.682 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/0.6847, allocations: 58.84 kB / 0.6821 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 5.47e-06/0.6847, allocations: 4 kB / 0.6821 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.07394/0.7586, allocations: 26.31 MB / 0.7078 GB, free: 2.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.7589, allocations: 261.1 kB / 0.708 GB, free: 2.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/0.7726, allocations: 7.039 MB / 0.7149 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007674/0.7734, allocations: 68.05 kB / 0.715 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004477/0.7779, allocations: 4.962 MB / 0.7198 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001793/0.7797, allocations: 1.039 MB / 0.7208 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004501/0.7843, allocations: 1.842 MB / 0.7226 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7844, allocations: 305.1 kB / 0.7229 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006094/0.7905, allocations: 3.411 MB / 0.7262 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/0.8011, allocations: 8.713 MB / 0.7347 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/0.8176, allocations: 12.98 MB / 0.7474 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001703/0.8178, allocations: 52 kB / 0.7475 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.2634/1.081, allocations: 13.4 MB / 0.7606 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.081, allocations: 88.31 kB / 0.7606 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003627/1.082, allocations: 187 kB / 0.7608 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005822/1.088, allocations: 1.793 MB / 0.7626 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007828/1.095, allocations: 2.085 MB / 0.7646 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.11, allocations: 12.64 MB / 0.777 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008319/1.119, allocations: 0.502 MB / 0.7774 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/1.121, allocations: 0.5232 MB / 0.778 GB, free: 186.7 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.007828/1.129, allocations: 3.327 MB / 0.7812 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.13, allocations: 0.5899 MB / 0.7818 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.14, allocations: 5.989 MB / 0.7876 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/1.14, allocations: 26.09 kB / 0.7877 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/1.14, allocations: 11.69 kB / 0.7877 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-05/1.14, allocations: 19.45 kB / 0.7877 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.167, allocations: 13.32 MB / 0.8007 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/1.167, allocations: 2.797 kB / 0.8007 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.169, allocations: 461.5 kB / 0.8011 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003768/1.173, allocations: 1.498 MB / 0.8026 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004906/1.173, allocations: 51.48 kB / 0.8026 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/1.185, allocations: 11.68 MB / 0.8141 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.185, allocations: 0 / 0.8141 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.199, allocations: 9.744 MB / 0.8236 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/1.202, allocations: 1.06 MB / 0.8246 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001559/1.203, allocations: 45.33 kB / 0.8246 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.206, allocations: 187.7 kB / 0.8248 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005141/1.207, allocations: 165.6 kB / 0.825 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.207, allocations: 65.48 kB / 0.825 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007495/1.215, allocations: 4.48 MB / 0.8294 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.91e-07/1.215, allocations: 0 / 0.8294 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009257/1.224, 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.0007292/1.225, allocations: 188 kB / 0.8312 GB, free: 149.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.237, allocations: 8.359 MB / 0.8394 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.237, allocations: 4.062 kB / 0.8394 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003533/1.24, allocations: 2.858 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.005229/1.245, allocations: 0.797 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.02751/1.273, allocations: 16.17 MB / 0.8588 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007573/1.281, allocations: 5.023 MB / 0.8637 GB, free: 116.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/1.283, allocations: 459.4 kB / 0.8641 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.322e-06/1.283, allocations: 7.938 kB / 0.8641 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.4558/1.738, allocations: 190 MB / 1.05 GB, free: 142.4 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