Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.0009658/0.0009658, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001004/0.001004, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9391/0.9391, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2043/0.2043, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.99e-05, allocations: 6.25 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01039/0.01042, allocations: 13.03 MB / 361.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00819/0.01861, allocations: 4.284 MB / 365.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.02005, allocations: 103.6 kB / 365.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004085/0.02413, allocations: 3.952 MB / 369.5 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.0278, allocations: 2.251 MB / 371.8 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.02911, allocations: 0.8965 MB / 372.7 MB, free: 0.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003641/0.03275, allocations: 4.799 MB / 377.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.03613, allocations: 4.18 MB / 381.6 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.03942, allocations: 3.091 MB / 384.7 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.04197, allocations: 2.638 MB / 387.4 MB, free: 1.742 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005238/0.0425, allocations: 436 kB / 387.8 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.04418, allocations: 1.104 MB / 388.9 MB, free: 216 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.04569, allocations: 2.497 MB / 391.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.04711, allocations: 1.62 MB / 393 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004521/0.05163, allocations: 5.41 MB / 398.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.05163, allocations: 4 kB / 398.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.05164, allocations: 0 / 398.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.522e-05/0.05173, allocations: 0 / 398.4 MB, free: 6.648 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.007373/0.0591, allocations: 6.671 MB / 405.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.05915, allocations: 8.031 kB / 405.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/0.06236, allocations: 1.656 MB / 406.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.06477, allocations: 2.275 MB / 409 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.06494, allocations: 308 kB / 409.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004668/0.0654, allocations: 415.7 kB / 409.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006702/0.0721, allocations: 6.413 MB / 416.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.048e-05/0.0722, allocations: 51.56 kB / 416.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/0.07252, allocations: 191.8 kB / 416.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001719/0.07424, allocations: 1.957 MB / 418.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004848/0.07908, allocations: 2.867 MB / 421.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2216/0.3007, allocations: 47.89 MB / 469.1 MB, free: 60.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004872/0.3056, allocations: 1.701 MB / 470.8 MB, free: 60.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000864/0.3065, allocations: 0.5361 MB / 471.3 MB, free: 60.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007168/0.3136, allocations: 4.79 MB / 476.1 MB, free: 59.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3137, allocations: 56.8 kB / 476.2 MB, free: 59.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=170): time 4.018e-06/0.3137, allocations: 0 / 476.2 MB, free: 59.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.01597/0.3297, allocations: 6.656 MB / 482.8 MB, free: 58.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.3297, allocations: 152 kB / 483 MB, free: 58.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.333, allocations: 3.873 MB / 486.9 MB, free: 57.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.3332, allocations: 55.61 kB / 486.9 MB, free: 57.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.3346, allocations: 4.055 MB / 491 MB, free: 54.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/0.3352, allocations: 0.7705 MB / 491.7 MB, free: 54.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.3363, allocations: 1.464 MB / 493.2 MB, free: 52.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.3363, allocations: 484.7 kB / 493.7 MB, free: 52.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009101/0.3372, allocations: 0.622 MB / 494.3 MB, free: 51.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/0.3397, allocations: 6.888 MB / 0.4894 GB, free: 41.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004817/0.3445, allocations: 8.26 MB / 0.4975 GB, free: 31.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.3446, allocations: 46.19 kB / 0.4976 GB, free: 31.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.007408/0.352, allocations: 5.379 MB / 0.5028 GB, free: 25.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/0.3521, allocations: 68 kB / 0.5029 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/0.3522, allocations: 152 kB / 0.503 GB, free: 25.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.3527, allocations: 261.3 kB / 0.5033 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.3553, allocations: 1.536 MB / 0.5048 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3566, allocations: 2.146 MB / 0.5069 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/0.3602, allocations: 299.7 kB / 0.5071 GB, free: 21.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005759/0.3608, allocations: 360 kB / 0.5075 GB, free: 21.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * Number of states: 0 () * Number of discrete variables: 42 (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 (844): * Single equations (assignments): 840 * 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.001804/0.3626, allocations: 0.7108 MB / 0.5082 GB, free: 20.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008819/0.3635, allocations: 425.5 kB / 0.5086 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.3651, allocations: 1.161 MB / 0.5097 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.3651, allocations: 27.64 kB / 0.5098 GB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.3651, allocations: 0 / 0.5098 GB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3651, allocations: 11.91 kB / 0.5098 GB, free: 18.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008619/0.3738, allocations: 5.487 MB / 0.5151 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3738, allocations: 4 kB / 0.5151 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.3746, allocations: 299.6 kB / 0.5154 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.3748, allocations: 67.58 kB / 0.5155 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.3749, allocations: 39.98 kB / 0.5155 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009269/0.3758, allocations: 1.883 MB / 0.5174 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3758, allocations: 8 kB / 0.5174 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.3783, allocations: 2.388 MB / 0.5197 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.3794, allocations: 0.4933 MB / 0.5202 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.3797, allocations: 32 kB / 0.5202 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.3804, allocations: 39.98 kB / 0.5202 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.3806, allocations: 128.6 kB / 0.5204 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.3806, allocations: 47.98 kB / 0.5204 GB, free: 7.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00153/0.3822, allocations: 1.545 MB / 0.5219 GB, free: 5.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3822, allocations: 0 / 0.5219 GB, free: 5.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004455/0.3866, allocations: 1.117 MB / 0.523 GB, free: 4.727 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (166): * Single equations (assignments): 162 * 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.0004052/0.387, allocations: 194.8 kB / 0.5232 GB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.3907, allocations: 3.013 MB / 0.5261 GB, free: 1.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.3907, allocations: 0 / 0.5261 GB, free: 1.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008156/0.3916, allocations: 0.7231 MB / 0.5268 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.394, allocations: 438.8 kB / 0.5273 GB, free: 380 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/0.4085, allocations: 8.901 MB / 0.536 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.4105, allocations: 1.452 MB / 0.5374 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0023/0.4128, allocations: 0.5451 MB / 0.5379 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.414, allocations: 0.6231 MB / 0.5385 GB, free: 4.648 MB / 394.7 MB Notification: Performance of SimCode: time 4.258e-06/0.414, allocations: 0 / 0.5385 GB, free: 4.648 MB / 394.7 MB Notification: Performance of Templates: time 0.05492/0.4689, allocations: 32.54 MB / 0.5703 GB, free: 4.184 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.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.36229348089546]