Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 108.3 kB / 17.21 MB, free: 6.293 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.001473/0.001473, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241.8 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2097/0.2097, allocations: 44.19 MB / 336.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 58.47 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1325, allocations: 60.82 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3413/0.4738, allocations: 65.6 MB / 0.5216 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03157/0.5054, allocations: 12.95 MB / 0.5343 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0154/0.5208, allocations: 280.2 kB / 0.5345 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006689/0.5276, allocations: 3.72 MB / 0.5382 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.5328, allocations: 1.896 MB / 0.54 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.5347, allocations: 0.7402 MB / 0.5407 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00709/0.5418, allocations: 6.254 MB / 0.5468 GB, free: 272 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005823/0.5477, allocations: 4.837 MB / 0.5516 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.5507, allocations: 1.664 MB / 0.5532 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/0.5543, allocations: 2.654 MB / 0.5558 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008204/0.5552, allocations: 308 kB / 0.5561 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.5576, allocations: 1.105 MB / 0.5572 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.5597, allocations: 2.163 MB / 0.5593 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.5623, allocations: 2.553 MB / 0.5618 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008339/0.5707, allocations: 7.886 MB / 0.5695 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5707, allocations: 3.938 kB / 0.5695 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5707, allocations: 0 / 0.5695 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003091/0.571, allocations: 3.938 kB / 0.5695 GB, free: 11.43 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02376/0.5948, allocations: 6.237 MB / 0.5756 GB, free: 5.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.5949, allocations: 8.031 kB / 0.5756 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006835/0.6017, allocations: 1.955 MB / 0.5775 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/0.6074, allocations: 2.667 MB / 0.5801 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/0.6078, allocations: 295.1 kB / 0.5804 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.6093, allocations: 391.2 kB / 0.5807 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/0.6404, allocations: 12.39 MB / 0.5928 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/0.6407, allocations: 47.5 kB / 0.5929 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.6418, allocations: 185.6 kB / 0.5931 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006064/0.6478, allocations: 2.256 MB / 0.5953 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03061/0.6785, allocations: 11.36 MB / 0.6063 GB, free: 5.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0636/0.7421, allocations: 46.51 MB / 0.6518 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/0.761, allocations: 5.473 MB / 0.6571 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004708/0.7658, allocations: 3.431 MB / 0.6605 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.7669, allocations: 0.7084 MB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.7669, allocations: 55.88 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 4.519e-06/0.767, allocations: 0 / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.07563/0.8426, allocations: 27.35 MB / 0.6879 GB, free: 388 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.8427, allocations: 154.5 kB / 0.6881 GB, free: 204 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008483/0.8512, allocations: 4.415 MB / 0.6924 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007992/0.8521, allocations: 57.7 kB / 0.6924 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003257/0.8553, allocations: 3.423 MB / 0.6958 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002011/0.8574, allocations: 0.8862 MB / 0.6966 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002325/0.8597, allocations: 1.424 MB / 0.698 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.8598, allocations: 305.1 kB / 0.6983 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/0.8647, allocations: 3.28 MB / 0.7015 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.322/1.187, allocations: 7.103 MB / 0.7085 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/1.202, allocations: 11.19 MB / 0.7194 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003055/1.202, allocations: 38.81 kB / 0.7194 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02637/1.229, allocations: 11.32 MB / 0.7305 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004838/1.229, allocations: 65.31 kB / 0.7305 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006196/1.23, allocations: 133.5 kB / 0.7307 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/1.234, allocations: 1.118 MB / 0.7318 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009532/1.243, allocations: 1.698 MB / 0.7334 GB, free: 127 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009816/1.253, allocations: 6.014 MB / 0.7393 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00896/1.262, allocations: 398.6 kB / 0.7397 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.264, allocations: 441.2 kB / 0.7401 GB, free: 124 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (819): * Single equations (assignments): 815 * 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.006645/1.271, allocations: 2.334 MB / 0.7424 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.273, allocations: 401.2 kB / 0.7428 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.287, allocations: 6.188 MB / 0.7488 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-05/1.287, allocations: 29.56 kB / 0.7488 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/1.287, allocations: 0 / 0.7488 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-05/1.287, allocations: 17.69 kB / 0.7488 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/1.312, allocations: 13.07 MB / 0.7616 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.312, allocations: 5.531 kB / 0.7616 GB, free: 108 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.315, allocations: 0.5379 MB / 0.7621 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/1.317, allocations: 0.9435 MB / 0.7631 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/1.317, allocations: 87.89 kB / 0.7631 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005953/1.323, allocations: 5.738 MB / 0.7687 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.323, allocations: 10.53 kB / 0.7688 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.336, allocations: 10.46 MB / 0.779 GB, free: 90.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/1.339, allocations: 0.8902 MB / 0.7798 GB, free: 89.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/1.34, allocations: 47.86 kB / 0.7799 GB, free: 89.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.343, allocations: 168.9 kB / 0.78 GB, free: 89.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000643/1.344, allocations: 180.3 kB / 0.7802 GB, free: 89.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003504/1.344, allocations: 109.7 kB / 0.7803 GB, free: 88.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005478/1.35, allocations: 2.78 MB / 0.783 GB, free: 86.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/1.35, allocations: 0 / 0.783 GB, free: 86.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00844/1.358, allocations: 1.203 MB / 0.7842 GB, free: 84.97 MB / 0.5294 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.001026/1.359, allocations: 179.8 kB / 0.7844 GB, free: 84.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.371, allocations: 7.719 MB / 0.7919 GB, free: 77.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.371, allocations: 0 / 0.7919 GB, free: 77.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00448/1.376, allocations: 3.027 MB / 0.7949 GB, free: 74.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005765/1.382, allocations: 473.2 kB / 0.7953 GB, free: 74.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/1.407, allocations: 14.36 MB / 0.8094 GB, free: 59.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005705/1.412, allocations: 3.67 MB / 0.8129 GB, free: 55.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007588/1.42, allocations: 2.269 MB / 0.8152 GB, free: 53.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/1.422, allocations: 419.1 kB / 0.8156 GB, free: 53.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/1.422, allocations: 0 / 0.8156 GB, free: 53.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.09076/1.513, allocations: 54.45 MB / 0.8687 GB, free: 15.21 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches