Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001247/0.001247, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.004508/0.004508, allocations: 172.5 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9631/0.9631, allocations: 177.1 MB / 205.3 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2369/0.2369, allocations: 32.81 MB / 294.6 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.633e-05, allocations: 6.172 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01209/0.01211, allocations: 10.46 MB / 333.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008789/0.0209, allocations: 3.878 MB / 337.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.02275, allocations: 75.62 kB / 337.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003857/0.02661, allocations: 2.869 MB / 340.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.03071, allocations: 1.874 MB / 342.4 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.03224, allocations: 0.7717 MB / 343.2 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004258/0.03649, allocations: 3.979 MB / 347.1 MB, free: 1.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00349/0.03998, allocations: 3.246 MB / 350.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.04368, allocations: 2.304 MB / 352.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.04631, allocations: 2.018 MB / 354.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007358/0.04704, allocations: 320 kB / 355 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.04873, allocations: 0.9829 MB / 356 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.05028, allocations: 1.928 MB / 357.9 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001992/0.05227, allocations: 1.211 MB / 359.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.05752, allocations: 4.262 MB / 363.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.05752, allocations: 0 / 363.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.05753, allocations: 3.938 kB / 363.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002017/0.05773, allocations: 0 / 363.4 MB, free: 1.348 MB / 330.7 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.007441/0.06517, allocations: 4.456 MB / 367.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.06521, allocations: 8.031 kB / 367.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/0.06794, allocations: 1.062 MB / 368.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.07042, allocations: 1.685 MB / 370.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.07054, allocations: 229.9 kB / 370.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004399/0.07098, allocations: 303.8 kB / 371.1 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006512/0.07749, allocations: 4.574 MB / 375.7 MB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.0776, allocations: 43.58 kB / 375.8 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/0.0779, allocations: 147.9 kB / 375.9 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00131/0.07921, allocations: 1.513 MB / 377.4 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004527/0.08373, allocations: 2.235 MB / 379.6 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.1077, allocations: 28.44 MB / 408.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.1103, allocations: 1.115 MB / 409.2 MB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.1107, allocations: 259.9 kB / 409.4 MB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00441/0.1151, allocations: 2.758 MB / 412.2 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.1152, allocations: 42.56 kB / 412.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.737e-06/0.1152, allocations: 4 kB / 412.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.006013/0.1212, allocations: 2.469 MB / 414.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1212, allocations: 140.5 kB / 414.9 MB, free: 11.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.124, allocations: 3.09 MB / 417.9 MB, free: 8.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.1241, allocations: 41.69 kB / 418 MB, free: 8.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.1255, allocations: 3 MB / 421 MB, free: 5.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.1259, allocations: 444.8 kB / 421.4 MB, free: 5.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009237/0.1268, allocations: 1.048 MB / 422.5 MB, free: 4.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.1269, allocations: 301.1 kB / 422.8 MB, free: 3.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/0.1278, allocations: 0.6235 MB / 423.4 MB, free: 3.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.1303, allocations: 4.2 MB / 427.6 MB, free: 13.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/0.134, allocations: 5.337 MB / 432.9 MB, free: 5.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.126e-05/0.1341, allocations: 40 kB / 433 MB, free: 5.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.005165/0.1393, allocations: 3.759 MB / 436.7 MB, free: 2.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.1394, allocations: 63.98 kB / 436.8 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.1395, allocations: 136.8 kB / 436.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.1398, allocations: 211.6 kB / 437.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.142, allocations: 1.248 MB / 438.4 MB, free: 452 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.143, allocations: 1.498 MB / 439.9 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.1454, allocations: 255.7 kB / 440.1 MB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/0.1458, allocations: 304 kB / 440.4 MB, free: 14.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (685): * Single equations (assignments): 681 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001141/0.147, allocations: 0.5989 MB / 441 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.1474, allocations: 171.8 kB / 441.2 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/0.1481, allocations: 0.4981 MB / 441.7 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.1481, allocations: 15.94 kB / 441.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1481, allocations: 0 / 441.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1481, allocations: 3.984 kB / 441.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.1525, allocations: 2.846 MB / 444.6 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.1525, allocations: 4 kB / 444.6 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.1529, allocations: 139.8 kB / 444.7 MB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.153, allocations: 55.8 kB / 444.7 MB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.1531, allocations: 15.98 kB / 444.8 MB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009974/0.1541, allocations: 1.423 MB / 446.2 MB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1541, allocations: 4 kB / 446.2 MB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.1554, allocations: 1.22 MB / 447.4 MB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004892/0.1559, allocations: 269.8 kB / 447.7 MB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.1561, allocations: 16 kB / 447.7 MB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.1566, allocations: 23.98 kB / 447.7 MB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1567, allocations: 63.78 kB / 447.8 MB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.1567, allocations: 28.02 kB / 447.8 MB, free: 6.672 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.1579, allocations: 1.109 MB / 448.9 MB, free: 5.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1579, allocations: 0 / 448.9 MB, free: 5.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003078/0.1609, allocations: 0.832 MB / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (74): * Single equations (assignments): 70 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003582/0.1613, allocations: 137.4 kB / 449.9 MB, free: 4.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.1642, allocations: 2.109 MB / 452 MB, free: 2.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002165/0.1644, allocations: 100.6 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.1648, allocations: 333 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.1669, allocations: 0.5457 MB / 453 MB, free: 1.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1402/0.3071, allocations: 6.414 MB / 459.4 MB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.3083, allocations: 1.103 MB / 460.5 MB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001266/0.3096, allocations: 445.6 kB / 460.9 MB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.3102, allocations: 490.2 kB / 461.4 MB, free: 123.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.254e-06/0.3102, allocations: 0 / 461.4 MB, free: 123.8 MB / 426.7 MB Notification: Performance of Templates: time 0.04146/0.3516, allocations: 22.31 MB / 483.7 MB, free: 107.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.120500554796308]