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.001363/0.001363, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001493/0.001493, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.2273/0.2273, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.002033/0.002033, allocations: 71.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2727, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01224/0.2849, allocations: 9.724 MB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007551/0.2925, allocations: 3.641 MB / 0.5749 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.2936, allocations: 75.69 kB / 0.5749 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00529/0.2989, allocations: 2.617 MB / 0.5775 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.3033, allocations: 1.802 MB / 0.5793 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.3048, allocations: 0.694 MB / 0.5799 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004308/0.3091, allocations: 3.575 MB / 0.5834 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.3123, allocations: 2.81 MB / 0.5862 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.3142, allocations: 1.495 MB / 0.5876 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.3169, allocations: 2.153 MB / 0.5897 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005469/0.3174, allocations: 320 kB / 0.59 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.3192, allocations: 0.9557 MB / 0.591 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.3208, allocations: 1.846 MB / 0.5928 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.3224, allocations: 1.549 MB / 0.5943 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00687/0.3293, allocations: 6.72 MB / 0.6009 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3293, allocations: 0 / 0.6009 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3293, allocations: 0 / 0.6009 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001141/0.3294, allocations: 4 kB / 0.6009 GB, free: 11.98 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.01813/0.3476, allocations: 5.121 MB / 0.6059 GB, free: 6.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3476, allocations: 11.97 kB / 0.6059 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006834/0.3544, allocations: 1.882 MB / 0.6077 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/0.3599, allocations: 2.201 MB / 0.6099 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.3601, allocations: 221.8 kB / 0.6101 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006986/0.3608, allocations: 299.8 kB / 0.6104 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/0.3795, allocations: 10.07 MB / 0.6202 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.3796, allocations: 43.64 kB / 0.6202 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.38, allocations: 139.9 kB / 0.6204 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003278/0.3833, allocations: 1.806 MB / 0.6221 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01836/0.4017, allocations: 9.011 MB / 0.6309 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04826/0.4499, allocations: 34.65 MB / 0.6648 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/0.4646, allocations: 3.155 MB / 0.6678 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.467, allocations: 1.61 MB / 0.6694 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008153/0.4678, allocations: 232.2 kB / 0.6696 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.4679, allocations: 43.22 kB / 0.6697 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.058e-06/0.4679, allocations: 4 kB / 0.6697 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04517/0.513, allocations: 12.96 MB / 0.6823 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/0.5131, allocations: 141.2 kB / 0.6825 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005258/0.5184, allocations: 3.64 MB / 0.686 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003021/0.5187, allocations: 45.64 kB / 0.6861 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/0.5212, allocations: 3.105 MB / 0.6891 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008702/0.5221, allocations: 0.57 MB / 0.6897 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001687/0.5238, allocations: 1.147 MB / 0.6908 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5239, allocations: 309.1 kB / 0.6911 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002998/0.5269, allocations: 1.928 MB / 0.693 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005912/0.5328, allocations: 5.505 MB / 0.6983 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009989/0.5428, allocations: 8.057 MB / 0.7062 GB, free: 10.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/0.5429, allocations: 39.94 kB / 0.7062 GB, free: 10.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01459/0.5575, allocations: 7.886 MB / 0.7139 GB, free: 2.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.573e-05/0.5576, allocations: 60 kB / 0.714 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/0.5578, allocations: 128 kB / 0.7141 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.5604, allocations: 0.9052 MB / 0.715 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004253/0.5646, allocations: 1.287 MB / 0.7163 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/0.572, allocations: 5.01 MB / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/0.5761, allocations: 299.8 kB / 0.7214 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000781/0.5769, allocations: 363.9 kB / 0.7218 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.003743/0.5807, allocations: 1.967 MB / 0.7237 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007377/0.5814, allocations: 309.9 kB / 0.724 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005508/0.5869, allocations: 2.739 MB / 0.7267 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/0.5869, allocations: 15.94 kB / 0.7267 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.587, allocations: 4 kB / 0.7267 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.587, allocations: 11.97 kB / 0.7267 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2596/0.8466, allocations: 6.164 MB / 0.7327 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.8466, allocations: 1.75 kB / 0.7327 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.8481, allocations: 247.9 kB / 0.733 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/0.8506, allocations: 0.7127 MB / 0.7337 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.8508, allocations: 34.92 kB / 0.7337 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004989/0.8558, allocations: 4.591 MB / 0.7382 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8558, allocations: 3.875 kB / 0.7382 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/0.8622, allocations: 5.095 MB / 0.7432 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006566/0.8628, allocations: 273.4 kB / 0.7434 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/0.8631, allocations: 20.91 kB / 0.7434 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.8642, allocations: 76.88 kB / 0.7435 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.8645, allocations: 101.6 kB / 0.7436 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.8646, allocations: 49.92 kB / 0.7437 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002388/0.867, allocations: 2.093 MB / 0.7457 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.867, allocations: 0 / 0.7457 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003731/0.8707, allocations: 0.8755 MB / 0.7466 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.0003208/0.871, allocations: 153.2 kB / 0.7467 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005136/0.8762, allocations: 4.452 MB / 0.7511 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8762, allocations: 0 / 0.7511 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.8777, allocations: 1.287 MB / 0.7523 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.001919/0.8796, allocations: 369.3 kB / 0.7527 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.89, allocations: 8.453 MB / 0.7609 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/0.8923, allocations: 2.523 MB / 0.7634 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003125/0.8954, allocations: 1.733 MB / 0.7651 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.8959, allocations: 239.3 kB / 0.7653 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.8959, allocations: 0 / 0.7653 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.05105/0.947, allocations: 34.61 MB / 0.7991 GB, free: 97.19 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/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: 6.695609795991913]