Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009286/0.0009286, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001031/0.001031, allocations: 166.5 kB / 24.99 MB, free: 8.336 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.9609/0.9609, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2605/0.2605, allocations: 32.81 MB / 294.6 MB, free: 1.285 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_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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.491e-05, allocations: 6.25 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01054/0.01057, allocations: 12.63 MB / 388.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.01724, allocations: 4.216 MB / 392.9 MB, free: 4.066 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009861/0.01823, allocations: 95.56 kB / 393 MB, free: 3.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003679/0.02191, allocations: 3.972 MB / 396.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.02487, allocations: 2.107 MB / 399 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.02603, allocations: 0.881 MB / 399.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.02907, allocations: 4.638 MB / 404.6 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.03196, allocations: 4.07 MB / 408.6 MB, free: 4.191 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.03402, allocations: 2.807 MB / 411.4 MB, free: 1.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.036, allocations: 2.615 MB / 414 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.03636, allocations: 420 kB / 414.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.03748, allocations: 1.096 MB / 415.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.03873, allocations: 2.361 MB / 417.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.03977, allocations: 1.538 MB / 419.5 MB, free: 9.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.04331, allocations: 5.142 MB / 424.6 MB, free: 4.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.04332, allocations: 0 / 424.6 MB, free: 4.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.04332, allocations: 4 kB / 424.6 MB, free: 4.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.086e-05/0.04336, allocations: 0 / 424.6 MB, free: 4.176 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01291/0.05627, allocations: 6.799 MB / 431.4 MB, free: 13.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.05631, allocations: 8.031 kB / 431.4 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005792/0.0621, allocations: 2.517 MB / 433.9 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/0.06539, allocations: 2.443 MB / 436.4 MB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.06558, allocations: 295.6 kB / 436.7 MB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006004/0.06618, allocations: 391.8 kB / 437 MB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1737/0.2399, allocations: 7.267 MB / 444.3 MB, free: 75.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002182/0.2401, allocations: 49.55 kB / 444.4 MB, free: 75.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006832/0.2408, allocations: 184.4 kB / 444.5 MB, free: 75.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003432/0.2442, allocations: 2.188 MB / 446.7 MB, free: 75.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/0.2573, allocations: 4.263 MB / 451 MB, free: 75.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.2871, allocations: 47.26 MB / 498.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.3008, allocations: 2.824 MB / 0.4893 GB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/0.3031, allocations: 0.9512 MB / 0.4902 GB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/0.3038, allocations: 244.9 kB / 0.4905 GB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.3039, allocations: 58.25 kB / 0.4905 GB, free: 40.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 6.563e-06/0.3039, allocations: 0 / 0.4905 GB, free: 40.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.04418/0.3481, allocations: 17.34 MB / 0.5075 GB, free: 35.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3481, allocations: 151.7 kB / 0.5076 GB, free: 35.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.3513, allocations: 3.612 MB / 0.5111 GB, free: 34.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.3515, allocations: 60.58 kB / 0.5112 GB, free: 34.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.3529, allocations: 3.691 MB / 0.5148 GB, free: 31.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000623/0.3535, allocations: 0.9487 MB / 0.5157 GB, free: 30.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/0.3549, allocations: 1.537 MB / 0.5172 GB, free: 29.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.355, allocations: 480.8 kB / 0.5177 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.3564, allocations: 0.9142 MB / 0.5186 GB, free: 28.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.3595, allocations: 6.563 MB / 0.525 GB, free: 19.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005259/0.3647, allocations: 8.295 MB / 0.5331 GB, free: 9.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.725e-05/0.3648, allocations: 36 kB / 0.5331 GB, free: 9.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.008218/0.373, allocations: 6.634 MB / 0.5396 GB, free: 3.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.373, allocations: 64 kB / 0.5397 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.572e-05/0.3731, allocations: 136.7 kB / 0.5398 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.3745, allocations: 0.6761 MB / 0.5405 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/0.3775, allocations: 1.719 MB / 0.5421 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.3808, allocations: 3.341 MB / 0.5454 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/0.3838, allocations: 431.6 kB / 0.5458 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004953/0.3843, allocations: 463.7 kB / 0.5463 GB, free: 12.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (816): * Single equations (assignments): 812 * 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.001537/0.3858, allocations: 0.7015 MB / 0.5469 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00066/0.3865, allocations: 433.6 kB / 0.5474 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.3909, allocations: 2.803 MB / 0.5501 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.391, allocations: 24 kB / 0.5501 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.391, allocations: 4 kB / 0.5501 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.391, allocations: 15.95 kB / 0.5501 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.4037, allocations: 7.374 MB / 0.5573 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.4038, allocations: 0 / 0.5573 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.4053, allocations: 0.5776 MB / 0.5579 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.4065, allocations: 0.5076 MB / 0.5584 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.4067, allocations: 95.91 kB / 0.5585 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.4098, allocations: 3.096 MB / 0.5615 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.4098, allocations: 4 kB / 0.5615 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/0.4158, allocations: 4.064 MB / 0.5655 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.4173, allocations: 0.7512 MB / 0.5662 GB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/0.4178, allocations: 44 kB / 0.5663 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.4191, allocations: 203.7 kB / 0.5664 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.4195, allocations: 205.5 kB / 0.5666 GB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/0.4197, allocations: 119.9 kB / 0.5668 GB, free: 7.648 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002084/0.4218, allocations: 1.554 MB / 0.5683 GB, free: 6.109 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4218, allocations: 0 / 0.5683 GB, free: 6.109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005103/0.4269, allocations: 1.238 MB / 0.5695 GB, free: 4.871 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0005134/0.4274, allocations: 203.9 kB / 0.5697 GB, free: 4.668 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006248/0.4337, allocations: 3.887 MB / 0.5735 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4337, allocations: 1.969 kB / 0.5735 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.4356, allocations: 1.309 MB / 0.5748 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.4377, allocations: 0.4971 MB / 0.5752 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.4509, allocations: 9.244 MB / 0.5843 GB, free: 5.609 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.452, allocations: 1.417 MB / 0.5857 GB, free: 4.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003045/0.4551, allocations: 1.852 MB / 0.5875 GB, free: 2.309 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.4561, allocations: 456.1 kB / 0.5879 GB, free: 1.863 MB / 458.7 MB Notification: Performance of SimCode: time 2.695e-06/0.4561, allocations: 0 / 0.5879 GB, free: 1.863 MB / 458.7 MB Notification: Performance of Templates: time 0.2333/0.6894, allocations: 49.67 MB / 0.6364 GB, free: 123.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.8964605641085654]