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.001072/0.001072, allocations: 110.1 kB / 18.3 MB, free: 4.883 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.001044/0.001044, allocations: 195.2 kB / 19.23 MB, free: 3.957 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.385/1.385, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.222/0.222, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 65.3 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1134, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01461/0.128, allocations: 13.14 MB / 483.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1382, allocations: 4.279 MB / 487.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.1412, allocations: 83.75 kB / 487.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007441/0.1487, allocations: 3.719 MB / 491.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005869/0.1546, allocations: 2.042 MB / 493.2 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.1572, allocations: 0.7993 MB / 494 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006232/0.1635, allocations: 4.217 MB / 498.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007173/0.1707, allocations: 4.868 MB / 0.4913 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.1744, allocations: 1.857 MB / 0.4931 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/0.1784, allocations: 2.496 MB / 0.4955 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.1799, allocations: 416 kB / 0.4959 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/0.183, allocations: 1.151 MB / 0.4971 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003201/0.1863, allocations: 2.233 MB / 0.4992 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004878/0.1912, allocations: 2.645 MB / 0.5018 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2368/0.428, allocations: 7.974 MB / 0.5096 GB, free: 23.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.428, allocations: 1.094 kB / 0.5096 GB, free: 23.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.428, allocations: 0 / 0.5096 GB, free: 23.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004682/0.4285, allocations: 0.5312 kB / 0.5096 GB, free: 23.53 MB / 382.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.03301/0.4616, allocations: 6.241 MB / 0.5157 GB, free: 21.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4616, allocations: 8.938 kB / 0.5157 GB, free: 21.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009175/0.4708, allocations: 1.953 MB / 0.5176 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007383/0.4782, allocations: 2.661 MB / 0.5202 GB, free: 20.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.4786, allocations: 302.4 kB / 0.5205 GB, free: 20.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/0.4809, allocations: 400.5 kB / 0.5209 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02836/0.5093, allocations: 12.38 MB / 0.533 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.5095, allocations: 46.86 kB / 0.533 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.5106, allocations: 191.6 kB / 0.5332 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004067/0.5146, allocations: 2.251 MB / 0.5354 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/0.5372, allocations: 11.36 MB / 0.5465 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0677/0.605, allocations: 46.5 MB / 0.5919 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/0.6244, allocations: 5.481 MB / 0.5973 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005095/0.6295, allocations: 3.439 MB / 0.6006 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.6308, allocations: 0.7018 MB / 0.6013 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.6309, allocations: 51.88 kB / 0.6014 GB, free: 12.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=203): time 6.171e-06/0.6309, allocations: 0 / 0.6014 GB, free: 12.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=234): time 0.08877/0.7197, allocations: 27.34 MB / 0.6281 GB, free: 1.016 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.7198, allocations: 158.4 kB / 0.6282 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/0.7305, allocations: 4.416 MB / 0.6325 GB, free: 12.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001193/0.7317, allocations: 68.5 kB / 0.6326 GB, free: 12.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003495/0.7353, allocations: 3.42 MB / 0.6359 GB, free: 8.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00192/0.7372, allocations: 0.8858 MB / 0.6368 GB, free: 8.039 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004411/0.7416, allocations: 1.421 MB / 0.6382 GB, free: 6.609 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7418, allocations: 301.1 kB / 0.6385 GB, free: 6.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005913/0.7477, allocations: 3.281 MB / 0.6417 GB, free: 3.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009296/0.757, allocations: 7.107 MB / 0.6486 GB, free: 10.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/0.7728, allocations: 11.19 MB / 0.6596 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/0.7729, allocations: 36 kB / 0.6596 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02636/0.7993, allocations: 11.31 MB / 0.6706 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.7996, allocations: 70.75 kB / 0.6707 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003218/0.7999, allocations: 136 kB / 0.6708 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003462/0.8034, allocations: 1.128 MB / 0.6719 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007122/0.8105, allocations: 1.692 MB / 0.6736 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009506/0.8201, allocations: 6.355 MB / 0.6798 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006819/0.827, allocations: 399.6 kB / 0.6802 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/0.8289, allocations: 445.9 kB / 0.6806 GB, free: 8.309 MB / 0.5137 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.00666/0.8356, allocations: 2.331 MB / 0.6829 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001652/0.8373, allocations: 406.8 kB / 0.6833 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.8505, allocations: 6.171 MB / 0.6893 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/0.8506, allocations: 31.94 kB / 0.6893 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.8506, allocations: 4 kB / 0.6893 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/0.8507, allocations: 11.95 kB / 0.6893 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03122/0.8819, allocations: 13.09 MB / 0.7021 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/0.882, allocations: 4 kB / 0.7021 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/0.8854, allocations: 0.5424 MB / 0.7026 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/0.8884, allocations: 0.9515 MB / 0.7036 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007429/0.8891, allocations: 85.48 kB / 0.7037 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2422/1.131, allocations: 6.061 MB / 0.7096 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.131, allocations: 4.188 kB / 0.7096 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/1.148, allocations: 10.46 MB / 0.7198 GB, free: 182.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002681/1.15, allocations: 0.8931 MB / 0.7207 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.152, allocations: 47.38 kB / 0.7207 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/1.155, allocations: 166.8 kB / 0.7209 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007297/1.156, allocations: 183.4 kB / 0.721 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/1.156, allocations: 107.7 kB / 0.7212 GB, free: 182 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005134/1.161, allocations: 2.775 MB / 0.7239 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.5e-07/1.161, allocations: 0 / 0.7239 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007423/1.169, allocations: 1.21 MB / 0.725 GB, free: 180.9 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.000733/1.169, allocations: 178.5 kB / 0.7252 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01594/1.185, allocations: 9.831 MB / 0.7348 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.185, allocations: 0 / 0.7348 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004321/1.19, allocations: 3.031 MB / 0.7378 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/1.194, allocations: 0.5105 MB / 0.7383 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/1.216, allocations: 12.56 MB / 0.7505 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004495/1.22, allocations: 3.662 MB / 0.7541 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/1.223, allocations: 463.1 kB / 0.7546 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of SimCode: time 8.61e-07/1.223, allocations: 0 / 0.7546 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1227/1.345, allocations: 93.88 MB / 0.8462 GB, free: 63.48 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/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