Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002635/0.002635, allocations: 212.5 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.232/0.232, allocations: 46.93 MB / 362 MB, free: 4.211 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-beta.om/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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 83.86 kB / 0.4978 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3105, allocations: 66.09 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0134/0.3239, allocations: 11.01 MB / 0.5731 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00892/0.3328, allocations: 3.855 MB / 0.5769 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.3343, allocations: 75.62 kB / 0.5769 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00536/0.3397, allocations: 2.714 MB / 0.5796 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005016/0.3447, allocations: 1.813 MB / 0.5814 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.3464, allocations: 0.7018 MB / 0.582 GB, free: 16 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0056/0.352, allocations: 3.574 MB / 0.5855 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004114/0.3561, allocations: 2.815 MB / 0.5883 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.359, allocations: 1.491 MB / 0.5897 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.3622, allocations: 2.157 MB / 0.5918 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007573/0.3629, allocations: 323.9 kB / 0.5922 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.3649, allocations: 0.9596 MB / 0.5931 GB, free: 4.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.3669, allocations: 1.842 MB / 0.5949 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002354/0.3692, allocations: 2.089 MB / 0.5969 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007943/0.3772, allocations: 6.72 MB / 0.6035 GB, free: 9.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3772, allocations: 4 kB / 0.6035 GB, free: 9.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3772, allocations: 0 / 0.6035 GB, free: 9.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001824/0.3774, allocations: 0 / 0.6035 GB, free: 9.918 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.01662/0.394, allocations: 5.113 MB / 0.6085 GB, free: 4.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.394, allocations: 12.03 kB / 0.6085 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006508/0.4005, allocations: 1.878 MB / 0.6103 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00481/0.4053, allocations: 2.193 MB / 0.6125 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.4055, allocations: 225.8 kB / 0.6127 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006571/0.4062, allocations: 295.8 kB / 0.613 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/0.4254, allocations: 10.07 MB / 0.6228 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.4255, allocations: 39.64 kB / 0.6228 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004619/0.426, allocations: 143.9 kB / 0.623 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003242/0.4292, allocations: 1.798 MB / 0.6247 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.4481, allocations: 9.03 MB / 0.6336 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04911/0.4972, allocations: 36.9 MB / 0.6696 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.51, allocations: 3.154 MB / 0.6727 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.5125, allocations: 1.61 MB / 0.6742 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/0.5132, allocations: 232.1 kB / 0.6745 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.5132, allocations: 51.16 kB / 0.6745 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 4.178e-06/0.5132, allocations: 3.938 kB / 0.6745 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04148/0.5547, allocations: 12.99 MB / 0.6872 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.5548, allocations: 141.2 kB / 0.6873 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005945/0.5608, allocations: 3.968 MB / 0.6912 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000391/0.5612, allocations: 45.7 kB / 0.6913 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002672/0.5638, allocations: 3.092 MB / 0.6943 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008392/0.5647, allocations: 0.57 MB / 0.6948 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/0.5662, allocations: 1.143 MB / 0.6959 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5663, allocations: 309.1 kB / 0.6962 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/0.5695, allocations: 1.931 MB / 0.6981 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006769/0.5763, allocations: 5.502 MB / 0.7035 GB, free: 15.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.5871, allocations: 8.054 MB / 0.7114 GB, free: 5.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.861e-05/0.5872, allocations: 40 kB / 0.7114 GB, free: 5.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.015/0.6022, allocations: 7.926 MB / 0.7191 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.567e-05/0.6023, allocations: 62.66 kB / 0.7192 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.6024, allocations: 128 kB / 0.7193 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.6049, allocations: 0.9096 MB / 0.7202 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/0.6087, allocations: 1.283 MB / 0.7215 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/0.6159, allocations: 5.095 MB / 0.7264 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/0.6195, allocations: 299.8 kB / 0.7267 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/0.6201, allocations: 356 kB / 0.7271 GB, free: 5.602 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.00304/0.6231, allocations: 1.966 MB / 0.729 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.6237, allocations: 349.7 kB / 0.7293 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005598/0.6293, allocations: 2.779 MB / 0.732 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.6294, allocations: 16 kB / 0.7321 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6294, allocations: 4 kB / 0.7321 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.6294, allocations: 8.062 kB / 0.7321 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2648/0.8942, allocations: 7.136 MB / 0.739 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.8942, allocations: 3.375 kB / 0.739 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.8954, allocations: 239.7 kB / 0.7393 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/0.8972, allocations: 0.7181 MB / 0.74 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.8974, allocations: 34.97 kB / 0.74 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/0.9024, allocations: 4.654 MB / 0.7445 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9024, allocations: 0 / 0.7445 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/0.909, allocations: 5.14 MB / 0.7496 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007665/0.9098, allocations: 327.2 kB / 0.7499 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.9101, allocations: 28.45 kB / 0.7499 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.9112, allocations: 77 kB / 0.75 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.9114, allocations: 95.55 kB / 0.7501 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.9115, allocations: 47.08 kB / 0.7501 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002903/0.9145, allocations: 2.479 MB / 0.7525 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9145, allocations: 0 / 0.7525 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003754/0.9182, allocations: 0.8792 MB / 0.7534 GB, free: 144.5 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.0003213/0.9185, allocations: 155.3 kB / 0.7535 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005193/0.9237, allocations: 4.447 MB / 0.7579 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9237, allocations: 0 / 0.7579 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.9251, allocations: 1.292 MB / 0.7591 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.9271, allocations: 425.3 kB / 0.7595 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.9376, allocations: 8.521 MB / 0.7679 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.9399, allocations: 3.061 MB / 0.7709 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003084/0.943, allocations: 1.794 MB / 0.7726 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.9435, allocations: 251.3 kB / 0.7728 GB, free: 125 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.9435, allocations: 0 / 0.7728 GB, free: 125 MB / 0.5606 GB Notification: Performance of Templates: time 0.05426/0.9977, allocations: 35.99 MB / 0.808 GB, free: 89.27 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.004114395938814]