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.001519/0.001519, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001237/0.001237, allocations: 161.5 kB / 24.99 MB, free: 9.281 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 1.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2768/0.2768, allocations: 34.26 MB / 296 MB, free: 0.7656 MB / 266.7 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 1.954e-06/1.954e-06, allocations: 3.938 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.133e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01338/0.01341, allocations: 10.72 MB / 388.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007689/0.0211, allocations: 3.75 MB / 392.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.02239, allocations: 75.62 kB / 392.6 MB, free: 4.352 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.02545, allocations: 2.877 MB / 395.5 MB, free: 1.465 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.02905, allocations: 1.859 MB / 397.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.03041, allocations: 0.7639 MB / 398.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004539/0.03495, allocations: 3.971 MB / 402 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003952/0.03891, allocations: 3.167 MB / 405.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.04224, allocations: 2.237 MB / 407.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.04467, allocations: 2.19 MB / 409.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005998/0.04527, allocations: 324 kB / 410 MB, free: 2.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.04685, allocations: 0.9946 MB / 410.9 MB, free: 1.871 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.04819, allocations: 1.94 MB / 412.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.04925, allocations: 1.223 MB / 414.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.05356, allocations: 4.293 MB / 418.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.05356, allocations: 0 / 418.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.05357, allocations: 0 / 418.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.926e-05/0.05367, allocations: 0 / 418.4 MB, free: 10.39 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01046/0.06413, allocations: 5.639 MB / 424 MB, free: 4.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.06417, allocations: 12.03 kB / 424.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.0683, allocations: 2.327 MB / 426.4 MB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.07085, allocations: 2.032 MB / 428.4 MB, free: 276 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.07097, allocations: 225.9 kB / 428.6 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.07136, allocations: 307.8 kB / 428.9 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009051/0.08041, allocations: 5.989 MB / 434.9 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.08051, allocations: 43.64 kB / 435 MB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/0.08082, allocations: 147.9 kB / 435.1 MB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001841/0.08266, allocations: 1.805 MB / 436.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007717/0.09038, allocations: 3.327 MB / 440.2 MB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1928/0.2832, allocations: 40.37 MB / 480.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006371/0.2896, allocations: 1.928 MB / 482.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/0.2903, allocations: 0.4933 MB / 483 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.2907, allocations: 226 kB / 483.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2907, allocations: 50.55 kB / 483.3 MB, free: 45.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.596e-06/0.2907, allocations: 0 / 483.3 MB, free: 45.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.02169/0.3124, allocations: 9.637 MB / 492.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.3125, allocations: 144.3 kB / 493.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/0.3157, allocations: 3.347 MB / 496.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.3158, allocations: 44.67 kB / 496.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.3171, allocations: 3.241 MB / 499.7 MB, free: 38.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.3176, allocations: 0.5926 MB / 0.4886 GB, free: 38.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.3187, allocations: 1.244 MB / 0.4898 GB, free: 37.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.3188, allocations: 481.9 kB / 0.4903 GB, free: 37.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.3199, allocations: 0.5707 MB / 0.4908 GB, free: 37.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/0.3229, allocations: 5.868 MB / 0.4965 GB, free: 30.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006041/0.3289, allocations: 7.124 MB / 0.5035 GB, free: 22.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000227/0.3292, allocations: 36.62 kB / 0.5035 GB, free: 22.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.009748/0.3389, allocations: 5.28 MB / 0.5087 GB, free: 21.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/0.339, allocations: 58.81 kB / 0.5087 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/0.3391, allocations: 127 kB / 0.5089 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.3405, allocations: 0.6152 MB / 0.5095 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.3429, allocations: 1.29 MB / 0.5107 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.3456, allocations: 3.193 MB / 0.5138 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.3484, allocations: 335.3 kB / 0.5142 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/0.3488, allocations: 361.2 kB / 0.5145 GB, free: 18.3 MB / 410.7 MB 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.001206/0.3501, allocations: 0.6298 MB / 0.5151 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004557/0.3505, allocations: 336.5 kB / 0.5154 GB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.3529, allocations: 1.419 MB / 0.5168 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.3529, allocations: 18.17 kB / 0.5169 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3529, allocations: 7.172 kB / 0.5169 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.3529, allocations: 5.812 kB / 0.5169 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/0.3603, allocations: 4.786 MB / 0.5215 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.3603, allocations: 2 kB / 0.5215 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.361, allocations: 244.6 kB / 0.5218 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/0.3622, allocations: 435.1 kB / 0.5222 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.3623, allocations: 43.77 kB / 0.5222 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.3648, allocations: 2.933 MB / 0.5251 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3648, allocations: 3.938 kB / 0.5251 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.3683, allocations: 2.41 MB / 0.5275 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009931/0.3693, allocations: 294.9 kB / 0.5277 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.3695, allocations: 22.38 kB / 0.5278 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.3702, allocations: 110.1 kB / 0.5279 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3705, allocations: 97.53 kB / 0.528 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.3705, allocations: 55 kB / 0.528 GB, free: 11.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001886/0.3724, allocations: 1.433 MB / 0.5294 GB, free: 11.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3724, allocations: 0 / 0.5294 GB, free: 11.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004109/0.3765, allocations: 0.9425 MB / 0.5303 GB, free: 10.27 MB / 410.7 MB 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.0004297/0.377, allocations: 165.6 kB / 0.5305 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004492/0.3815, allocations: 2.758 MB / 0.5332 GB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3815, allocations: 0 / 0.5332 GB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.3823, allocations: 0.6811 MB / 0.5338 GB, free: 7.051 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.384, allocations: 381.7 kB / 0.5342 GB, free: 6.742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008666/0.3927, allocations: 6.795 MB / 0.5408 GB, free: 472 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/0.3941, allocations: 1.137 MB / 0.542 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003845/0.398, allocations: 1.518 MB / 0.5434 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008178/0.3988, allocations: 256.8 kB / 0.5437 GB, free: 14.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.714e-06/0.3988, allocations: 0 / 0.5437 GB, free: 14.54 MB / 426.7 MB Notification: Performance of Templates: time 0.06007/0.4588, allocations: 29.5 MB / 0.5725 GB, free: 2.012 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.604742595925927]