Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 81.77 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 62.44 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3389/0.4671, allocations: 61.6 MB / 0.5282 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03159/0.4987, allocations: 12.19 MB / 0.5401 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01489/0.5136, allocations: 267.7 kB / 0.5404 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006842/0.5206, allocations: 3.71 MB / 0.544 GB, free: 412 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006798/0.5274, allocations: 1.855 MB / 0.5458 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.5309, allocations: 0.7509 MB / 0.5465 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01025/0.5412, allocations: 6.191 MB / 0.5526 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007454/0.5487, allocations: 4.816 MB / 0.5573 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/0.5523, allocations: 1.658 MB / 0.5589 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/0.5566, allocations: 2.617 MB / 0.5615 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.5577, allocations: 308 kB / 0.5618 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.5602, allocations: 1.088 MB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002229/0.5624, allocations: 2.108 MB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00347/0.5659, allocations: 2.508 MB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009064/0.575, allocations: 7.745 MB / 0.5749 GB, free: 5.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.575, allocations: 0 / 0.5749 GB, free: 5.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.575, allocations: 4 kB / 0.5749 GB, free: 5.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002183/0.5753, allocations: 0 / 0.5749 GB, free: 5.41 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02075/0.596, allocations: 6.196 MB / 0.5809 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5961, allocations: 8.875 kB / 0.581 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/0.6033, allocations: 1.963 MB / 0.5829 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006314/0.6097, allocations: 2.632 MB / 0.5854 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.6099, allocations: 291.5 kB / 0.5857 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.611, allocations: 395.7 kB / 0.5861 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/0.6363, allocations: 12.19 MB / 0.598 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.6365, allocations: 51.44 kB / 0.5981 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006086/0.6371, allocations: 187.8 kB / 0.5982 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00402/0.6412, allocations: 2.183 MB / 0.6004 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/0.6642, allocations: 11.21 MB / 0.6113 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06729/0.7315, allocations: 46.08 MB / 0.6563 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/0.7505, allocations: 5.489 MB / 0.6617 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005633/0.7562, allocations: 3.432 MB / 0.665 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.7574, allocations: 0.6986 MB / 0.6657 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.7575, allocations: 51.88 kB / 0.6658 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 7.444e-06/0.7575, allocations: 0 / 0.6658 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.08471/0.8422, allocations: 27.3 MB / 0.6924 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/0.8423, allocations: 158.4 kB / 0.6926 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008324/0.8507, allocations: 4.395 MB / 0.6969 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008694/0.8516, allocations: 57.7 kB / 0.6969 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003057/0.8547, allocations: 3.385 MB / 0.7002 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/0.8564, allocations: 0.8869 MB / 0.7011 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004267/0.8607, allocations: 1.414 MB / 0.7025 GB, free: 240 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.8609, allocations: 305.1 kB / 0.7028 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006195/0.8671, allocations: 3.273 MB / 0.706 GB, free: 12.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008464/0.8756, allocations: 7.09 MB / 0.7129 GB, free: 3.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2987/1.174, allocations: 11.15 MB / 0.7238 GB, free: 184.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/1.174, allocations: 38.38 kB / 0.7238 GB, free: 184.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02655/1.201, allocations: 11.3 MB / 0.7348 GB, free: 181.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.201, allocations: 61.44 kB / 0.7349 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002617/1.201, allocations: 134.8 kB / 0.735 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/1.205, allocations: 1.116 MB / 0.7361 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00651/1.211, allocations: 1.696 MB / 0.7378 GB, free: 180.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/1.218, allocations: 6.01 MB / 0.7436 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/1.224, allocations: 400.7 kB / 0.744 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.225, allocations: 448.1 kB / 0.7445 GB, free: 177.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004005/1.229, allocations: 2.307 MB / 0.7467 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008167/1.23, allocations: 392.7 kB / 0.7471 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008773/1.239, allocations: 6.193 MB / 0.7531 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-05/1.239, allocations: 24.25 kB / 0.7532 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/1.239, allocations: 4.469 kB / 0.7532 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.745e-05/1.239, allocations: 11.39 kB / 0.7532 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/1.257, allocations: 13.02 MB / 0.7659 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.257, allocations: 8.031 kB / 0.7659 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/1.26, allocations: 0.5382 MB / 0.7664 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/1.262, allocations: 0.9488 MB / 0.7673 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003688/1.263, allocations: 79.89 kB / 0.7674 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005818/1.269, allocations: 5.734 MB / 0.773 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.269, allocations: 4 kB / 0.773 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.281, allocations: 10.47 MB / 0.7832 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.283, allocations: 0.8863 MB / 0.7841 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006825/1.283, allocations: 40.88 kB / 0.7842 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/1.285, allocations: 171.7 kB / 0.7843 GB, free: 146.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004856/1.286, allocations: 189.5 kB / 0.7845 GB, free: 146 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.286, allocations: 107.9 kB / 0.7846 GB, free: 145.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003214/1.289, allocations: 2.766 MB / 0.7873 GB, free: 143.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/1.289, allocations: 0 / 0.7873 GB, free: 143.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004642/1.294, allocations: 1.182 MB / 0.7885 GB, free: 142 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004466/1.294, allocations: 185.5 kB / 0.7886 GB, free: 141.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.305, allocations: 7.709 MB / 0.7962 GB, free: 134.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.305, allocations: 0.625 kB / 0.7962 GB, free: 134.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003542/1.308, allocations: 3.02 MB / 0.7991 GB, free: 131.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/1.311, allocations: 476 kB / 0.7996 GB, free: 130.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.332, allocations: 14.23 MB / 0.8135 GB, free: 116.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005418/1.338, allocations: 3.622 MB / 0.817 GB, free: 112.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006819/1.345, allocations: 2.265 MB / 0.8192 GB, free: 110.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/1.347, allocations: 419.1 kB / 0.8196 GB, free: 110 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.347, allocations: 0 / 0.8196 GB, free: 110 MB / 0.545 GB Notification: Performance of Templates: time 0.09298/1.44, allocations: 54.12 MB / 0.8725 GB, free: 56.04 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches