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.001288/0.001288, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 79.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3989, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01613/0.4151, allocations: 13.02 MB / 0.5437 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.4269, allocations: 4.294 MB / 0.5479 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00392/0.4309, allocations: 78.91 kB / 0.548 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008169/0.4391, allocations: 3.71 MB / 0.5516 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007014/0.4462, allocations: 2.027 MB / 0.5536 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.4489, allocations: 0.811 MB / 0.5544 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007173/0.4561, allocations: 4.217 MB / 0.5585 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007182/0.4633, allocations: 4.838 MB / 0.5632 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.467, allocations: 1.85 MB / 0.565 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004236/0.4712, allocations: 2.469 MB / 0.5674 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001414/0.4727, allocations: 416 kB / 0.5678 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.4757, allocations: 1.131 MB / 0.5689 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002887/0.4786, allocations: 2.205 MB / 0.5711 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004697/0.4834, allocations: 2.594 MB / 0.5736 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.4958, allocations: 8.074 MB / 0.5815 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.4958, allocations: 4 kB / 0.5815 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4958, allocations: 4 kB / 0.5815 GB, free: 13.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003906/0.4962, allocations: 0 / 0.5815 GB, free: 13.8 MB / 446.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.02623/0.5225, allocations: 6.204 MB / 0.5876 GB, free: 7.523 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.5226, allocations: 12.03 kB / 0.5876 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008543/0.5311, allocations: 1.96 MB / 0.5895 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007755/0.5389, allocations: 2.69 MB / 0.5921 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.5393, allocations: 291.5 kB / 0.5924 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.5411, allocations: 383.8 kB / 0.5928 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02782/0.5689, allocations: 12.21 MB / 0.6047 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/0.5691, allocations: 47.5 kB / 0.6047 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/0.5707, allocations: 187.8 kB / 0.6049 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004366/0.5751, allocations: 2.19 MB / 0.6071 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02608/0.6012, allocations: 11.21 MB / 0.618 GB, free: 7.562 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06685/0.6681, allocations: 45.88 MB / 0.6628 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/0.6864, allocations: 5.477 MB / 0.6682 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004358/0.6908, allocations: 3.439 MB / 0.6715 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.6918, allocations: 0.6948 MB / 0.6722 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.6919, allocations: 59.92 kB / 0.6723 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 5.01e-06/0.6919, allocations: 3.938 kB / 0.6723 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.07982/0.7717, allocations: 27.31 MB / 0.6989 GB, free: 3.156 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.7719, allocations: 150.5 kB / 0.6991 GB, free: 2.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007955/0.7798, allocations: 4.395 MB / 0.7034 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007087/0.7806, allocations: 57.7 kB / 0.7034 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00259/0.7832, allocations: 3.392 MB / 0.7067 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001439/0.7846, allocations: 0.8791 MB / 0.7076 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003857/0.7885, allocations: 1.418 MB / 0.709 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.7887, allocations: 309.1 kB / 0.7093 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006051/0.7947, allocations: 3.276 MB / 0.7125 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3069/1.102, allocations: 7.084 MB / 0.7194 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01451/1.116, allocations: 11.16 MB / 0.7303 GB, free: 151 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002927/1.117, allocations: 38.25 kB / 0.7303 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02195/1.139, allocations: 11.29 MB / 0.7413 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.139, allocations: 69.11 kB / 0.7414 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002128/1.139, allocations: 134.1 kB / 0.7415 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/1.142, allocations: 1.116 MB / 0.7426 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005855/1.148, allocations: 1.699 MB / 0.7443 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/1.154, allocations: 6.343 MB / 0.7505 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00564/1.16, allocations: 389.6 kB / 0.7509 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.161, allocations: 446.6 kB / 0.7513 GB, free: 141.5 MB / 0.5606 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.003716/1.165, allocations: 2.313 MB / 0.7535 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008405/1.166, allocations: 393.8 kB / 0.7539 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00869/1.174, allocations: 6.187 MB / 0.76 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.174, allocations: 27.98 kB / 0.76 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/1.174, allocations: 6.812 kB / 0.76 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/1.174, allocations: 7.969 kB / 0.76 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/1.192, allocations: 12.88 MB / 0.7726 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.193, allocations: 4 kB / 0.7726 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/1.195, allocations: 0.5462 MB / 0.7731 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/1.197, allocations: 0.9557 MB / 0.774 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/1.198, allocations: 83.89 kB / 0.7741 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006191/1.204, allocations: 6.095 MB / 0.7801 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/1.204, allocations: 11.31 kB / 0.7801 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.216, allocations: 10.47 MB / 0.7903 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/1.219, allocations: 0.8825 MB / 0.7912 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000705/1.219, allocations: 40 kB / 0.7912 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.221, allocations: 171.7 kB / 0.7914 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004946/1.222, allocations: 181.6 kB / 0.7916 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/1.222, allocations: 107.9 kB / 0.7917 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003377/1.226, allocations: 2.766 MB / 0.7944 GB, free: 97.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.226, allocations: 0 / 0.7944 GB, free: 97.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005686/1.231, allocations: 1.182 MB / 0.7955 GB, free: 96.42 MB / 0.5606 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.0005665/1.232, allocations: 192 kB / 0.7957 GB, free: 96.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.242, allocations: 7.732 MB / 0.8032 GB, free: 88.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.242, allocations: 0 / 0.8032 GB, free: 88.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003756/1.246, allocations: 3.028 MB / 0.8062 GB, free: 85.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/1.25, allocations: 0.4894 MB / 0.8067 GB, free: 85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.267, allocations: 11.82 MB / 0.8182 GB, free: 73.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/1.27, allocations: 3.627 MB / 0.8218 GB, free: 69.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004356/1.275, allocations: 2.262 MB / 0.824 GB, free: 67.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.276, allocations: 415.1 kB / 0.8244 GB, free: 66.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.276, allocations: 0 / 0.8244 GB, free: 66.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.08121/1.357, allocations: 52.6 MB / 0.8757 GB, free: 14.43 MB / 0.5606 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