Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0009491/0.0009491, allocations: 91.5 kB / 21.19 MB, free: 3.398 MB / 18.57 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.001005/0.001005, allocations: 160.5 kB / 24.56 MB, free: 40 kB / 18.57 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.023/1.023, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2756/0.2756, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.154e-05, allocations: 2.875 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01003/0.01005, allocations: 10.76 MB / 389.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005451/0.0155, allocations: 3.764 MB / 393.3 MB, free: 3.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007693/0.01627, allocations: 75.62 kB / 393.4 MB, free: 3.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.01923, allocations: 2.885 MB / 396.2 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.02173, allocations: 1.863 MB / 398.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.02271, allocations: 0.7639 MB / 398.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.02617, allocations: 3.978 MB / 402.9 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.02859, allocations: 3.171 MB / 406 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.03063, allocations: 2.23 MB / 408.3 MB, free: 4.441 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.03266, allocations: 2.178 MB / 410.4 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003248/0.03298, allocations: 328 kB / 410.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.03418, allocations: 1.006 MB / 411.8 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.03533, allocations: 1.94 MB / 413.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008837/0.03621, allocations: 1.219 MB / 414.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.03971, allocations: 4.305 MB / 419.2 MB, free: 9.441 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.03971, allocations: 0 / 419.2 MB, free: 9.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.03971, allocations: 0 / 419.2 MB, free: 9.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.03975, allocations: 0 / 419.2 MB, free: 9.441 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.008681/0.04843, allocations: 5.624 MB / 424.8 MB, free: 3.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.04848, allocations: 12.03 kB / 424.9 MB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.05229, allocations: 2.323 MB / 427.2 MB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.05443, allocations: 2.032 MB / 429.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.05453, allocations: 233.8 kB / 429.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.0549, allocations: 307.8 kB / 429.7 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00692/0.06182, allocations: 5.993 MB / 435.7 MB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.835e-05/0.06189, allocations: 47.62 kB / 435.8 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/0.06215, allocations: 143.9 kB / 435.9 MB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/0.06392, allocations: 1.798 MB / 437.7 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006178/0.0701, allocations: 3.323 MB / 441 MB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1897/0.2598, allocations: 40.37 MB / 481.4 MB, free: 57.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005729/0.2655, allocations: 1.934 MB / 483.4 MB, free: 57.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.2661, allocations: 0.4963 MB / 483.8 MB, free: 57.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/0.2665, allocations: 233 kB / 484.1 MB, free: 57.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2665, allocations: 48.55 kB / 484.1 MB, free: 57.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 2.955e-06/0.2665, allocations: 3.938 kB / 484.1 MB, free: 57.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.02019/0.2867, allocations: 9.606 MB / 493.7 MB, free: 54.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.2868, allocations: 141 kB / 493.9 MB, free: 54.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.2898, allocations: 3.352 MB / 497.2 MB, free: 52.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/0.2898, allocations: 47.67 kB / 497.3 MB, free: 52.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.2912, allocations: 3.247 MB / 0.4888 GB, free: 50.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.2916, allocations: 0.5911 MB / 0.4894 GB, free: 49.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.2928, allocations: 1.241 MB / 0.4906 GB, free: 49.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.2928, allocations: 479.9 kB / 0.491 GB, free: 48.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.2939, allocations: 0.5709 MB / 0.4916 GB, free: 48.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.2966, allocations: 5.87 MB / 0.4973 GB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004571/0.3012, allocations: 7.124 MB / 0.5043 GB, free: 33.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.33e-05/0.3012, allocations: 36.81 kB / 0.5043 GB, free: 33.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.008813/0.31, allocations: 5.283 MB / 0.5095 GB, free: 31.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/0.3101, allocations: 64.59 kB / 0.5095 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.3102, allocations: 127 kB / 0.5097 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.3116, allocations: 0.6187 MB / 0.5103 GB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.3137, allocations: 1.294 MB / 0.5115 GB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.3165, allocations: 3.199 MB / 0.5146 GB, free: 29.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.3188, allocations: 329.2 kB / 0.515 GB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/0.3191, allocations: 363 kB / 0.5153 GB, free: 28.98 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.001015/0.3202, allocations: 0.6273 MB / 0.5159 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.3205, allocations: 348 kB / 0.5163 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.3227, allocations: 1.409 MB / 0.5176 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.3227, allocations: 20.56 kB / 0.5176 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3227, allocations: 4.672 kB / 0.5177 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.3227, allocations: 8.812 kB / 0.5177 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006303/0.329, allocations: 4.783 MB / 0.5223 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.329, allocations: 0.9375 kB / 0.5223 GB, free: 25.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.3296, allocations: 244.3 kB / 0.5226 GB, free: 25.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.3308, allocations: 440.9 kB / 0.523 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/0.3309, allocations: 39.64 kB / 0.523 GB, free: 24.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.333, allocations: 2.92 MB / 0.5259 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.333, allocations: 0 / 0.5259 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.3357, allocations: 2.414 MB / 0.5282 GB, free: 19.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.3359, allocations: 300.1 kB / 0.5285 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.3361, allocations: 28 kB / 0.5285 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.3367, allocations: 106.1 kB / 0.5286 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.3369, allocations: 107.9 kB / 0.5287 GB, free: 19.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.3369, allocations: 50.8 kB / 0.5288 GB, free: 19.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001242/0.3382, allocations: 1.432 MB / 0.5302 GB, free: 18.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3382, allocations: 0 / 0.5302 GB, free: 18.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002475/0.3407, allocations: 0.9413 MB / 0.5311 GB, free: 17.32 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.0003029/0.341, allocations: 163.6 kB / 0.5313 GB, free: 17.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.344, allocations: 2.747 MB / 0.534 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.344, allocations: 3.938 kB / 0.534 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.3446, allocations: 0.6669 MB / 0.5346 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.3458, allocations: 393.4 kB / 0.535 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006897/0.3527, allocations: 6.801 MB / 0.5416 GB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/0.3535, allocations: 1.143 MB / 0.5427 GB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001806/0.3553, allocations: 1.519 MB / 0.5442 GB, free: 5.129 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/0.3557, allocations: 256.4 kB / 0.5445 GB, free: 4.879 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3557, allocations: 0 / 0.5445 GB, free: 4.879 MB / 410.7 MB Notification: Performance of Templates: time 0.04119/0.3969, allocations: 29.5 MB / 0.5733 GB, free: 7.875 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.3922338262200356]