Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 204.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.23/0.23, allocations: 46.96 MB / 360.9 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.89 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.374, allocations: 66.04 MB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01296/0.3869, allocations: 9.716 MB / 0.5706 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009067/0.396, allocations: 3.645 MB / 0.5741 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.3977, allocations: 75.62 kB / 0.5742 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005382/0.4031, allocations: 2.613 MB / 0.5768 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005019/0.4081, allocations: 1.806 MB / 0.5785 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.4098, allocations: 0.6901 MB / 0.5792 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005686/0.4155, allocations: 3.578 MB / 0.5827 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003609/0.4191, allocations: 2.814 MB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.4217, allocations: 1.487 MB / 0.5869 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.4253, allocations: 2.153 MB / 0.589 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006634/0.4259, allocations: 327.9 kB / 0.5893 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.428, allocations: 0.9557 MB / 0.5902 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.43, allocations: 1.846 MB / 0.592 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.4322, allocations: 1.549 MB / 0.5936 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00863/0.4408, allocations: 6.724 MB / 0.6001 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4408, allocations: 0 / 0.6001 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4408, allocations: 4 kB / 0.6001 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001414/0.441, allocations: 3.938 kB / 0.6001 GB, free: 11.96 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01772/0.4587, allocations: 5.117 MB / 0.6051 GB, free: 6.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4587, allocations: 8.031 kB / 0.6051 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006613/0.4654, allocations: 1.882 MB / 0.607 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/0.4704, allocations: 2.193 MB / 0.6091 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.4706, allocations: 225.8 kB / 0.6093 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006294/0.4712, allocations: 303.8 kB / 0.6096 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.4894, allocations: 10.06 MB / 0.6195 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.4895, allocations: 47.62 kB / 0.6195 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004257/0.4899, allocations: 143.9 kB / 0.6196 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003253/0.4932, allocations: 1.798 MB / 0.6214 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.5116, allocations: 9.018 MB / 0.6302 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0492/0.5607, allocations: 34.65 MB / 0.664 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/0.5755, allocations: 3.151 MB / 0.6671 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.5781, allocations: 1.605 MB / 0.6687 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008572/0.579, allocations: 232.2 kB / 0.6689 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.579, allocations: 55.16 kB / 0.669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 3.848e-06/0.579, allocations: 0 / 0.669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04668/0.6257, allocations: 12.95 MB / 0.6816 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.6258, allocations: 145.3 kB / 0.6817 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004883/0.6307, allocations: 3.64 MB / 0.6853 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.6309, allocations: 49.62 kB / 0.6853 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/0.6333, allocations: 3.109 MB / 0.6884 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006641/0.634, allocations: 0.5661 MB / 0.6889 GB, free: 15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.6355, allocations: 1.147 MB / 0.6901 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6357, allocations: 305.1 kB / 0.6903 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/0.6388, allocations: 1.935 MB / 0.6922 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006268/0.6451, allocations: 5.502 MB / 0.6976 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.6555, allocations: 8.058 MB / 0.7055 GB, free: 10.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/0.6556, allocations: 36 kB / 0.7055 GB, free: 10.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01562/0.6712, allocations: 7.886 MB / 0.7132 GB, free: 2.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/0.6713, allocations: 59.98 kB / 0.7133 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/0.6714, allocations: 136 kB / 0.7134 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.674, allocations: 0.8905 MB / 0.7143 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/0.6784, allocations: 1.294 MB / 0.7155 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007302/0.6857, allocations: 5.009 MB / 0.7204 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/0.6896, allocations: 303.8 kB / 0.7207 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007218/0.6903, allocations: 359.9 kB / 0.7211 GB, free: 10.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (681): * Single equations (assignments): 677 * 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.003187/0.6935, allocations: 1.963 MB / 0.723 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006629/0.6942, allocations: 318 kB / 0.7233 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/0.7003, allocations: 2.735 MB / 0.7259 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-05/0.7003, allocations: 19.94 kB / 0.726 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7003, allocations: 8 kB / 0.726 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.7004, allocations: 3.984 kB / 0.726 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3057/1.006, allocations: 6.169 MB / 0.732 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/1.006, allocations: 3.016 kB / 0.732 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.008, allocations: 250.5 kB / 0.7322 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/1.01, allocations: 0.7117 MB / 0.7329 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/1.011, allocations: 33.59 kB / 0.733 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005672/1.016, allocations: 4.584 MB / 0.7374 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.016, allocations: 4.656 kB / 0.7374 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/1.023, allocations: 5.095 MB / 0.7424 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008125/1.024, allocations: 279 kB / 0.7427 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/1.024, allocations: 24.42 kB / 0.7427 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.025, allocations: 73.62 kB / 0.7428 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/1.026, allocations: 97.86 kB / 0.7429 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.026, allocations: 54.02 kB / 0.7429 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002478/1.028, allocations: 2.094 MB / 0.745 GB, free: 147 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.028, allocations: 2.734 kB / 0.745 GB, free: 147 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003913/1.032, allocations: 0.868 MB / 0.7458 GB, free: 146.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003831/1.032, allocations: 155.6 kB / 0.746 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006523/1.039, allocations: 4.452 MB / 0.7503 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.039, allocations: 3.156 kB / 0.7503 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.041, allocations: 1.284 MB / 0.7516 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.043, allocations: 370.3 kB / 0.7519 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.054, allocations: 8.445 MB / 0.7602 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/1.056, allocations: 2.526 MB / 0.7626 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0032/1.06, allocations: 1.737 MB / 0.7643 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/1.06, allocations: 231.3 kB / 0.7646 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.06, allocations: 0 / 0.7646 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.05389/1.114, allocations: 34.62 MB / 0.7984 GB, free: 97.15 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3495095442049205]