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.001889/0.001889, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.001989/0.001989, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 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 1.426/1.426, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2115/0.2115, allocations: 32.38 MB / 270 MB, free: 14.76 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.703e-06/1.703e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.101e-05, allocations: 6.312 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.02026/0.02029, allocations: 13.33 MB / 360.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.0363, allocations: 4.292 MB / 364.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004808/0.04111, allocations: 95.56 kB / 364.7 MB, free: 8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.05186, allocations: 4.018 MB / 368.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008074/0.05993, allocations: 2.251 MB / 370.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.06335, allocations: 0.8926 MB / 371.8 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009503/0.07285, allocations: 4.787 MB / 376.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007017/0.07987, allocations: 4.188 MB / 380.8 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006123/0.08599, allocations: 2.943 MB / 383.7 MB, free: 4.809 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005242/0.09123, allocations: 2.767 MB / 386.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.09259, allocations: 444 kB / 386.9 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.09533, allocations: 1.12 MB / 388.1 MB, free: 492 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003515/0.09885, allocations: 2.521 MB / 390.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003379/0.1022, allocations: 1.64 MB / 392.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.1159, allocations: 8.699 MB / 400.9 MB, free: 3.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.1159, allocations: 4 kB / 400.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1159, allocations: 0 / 400.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003408/0.1163, allocations: 0 / 400.9 MB, free: 3.578 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.02802/0.1443, allocations: 7.617 MB / 408.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.1444, allocations: 8.031 kB / 408.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009602/0.154, allocations: 2.572 MB / 411.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007628/0.1616, allocations: 2.54 MB / 413.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.1619, allocations: 312 kB / 414 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/0.1636, allocations: 415.7 kB / 414.4 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.1878, allocations: 8.182 MB / 422.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/0.188, allocations: 43.64 kB / 422.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007989/0.1888, allocations: 195.8 kB / 422.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00538/0.1941, allocations: 2.37 MB / 425.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02108/0.2152, allocations: 4.988 MB / 430.1 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2401/0.4553, allocations: 54.05 MB / 484.2 MB, free: 60.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.4708, allocations: 3.077 MB / 487.3 MB, free: 59.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.4731, allocations: 1.082 MB / 488.4 MB, free: 59.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/0.4739, allocations: 256.7 kB / 488.6 MB, free: 59.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.4739, allocations: 61.23 kB / 488.7 MB, free: 59.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 5.841e-06/0.4739, allocations: 3.438 kB / 488.7 MB, free: 59.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=255): time 0.06383/0.5378, allocations: 18.62 MB / 0.4954 GB, free: 46.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.5378, allocations: 154.5 kB / 0.4956 GB, free: 46.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/0.5434, allocations: 4.725 MB / 0.5002 GB, free: 41.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007816/0.5441, allocations: 73.53 kB / 0.5002 GB, free: 41.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.5463, allocations: 4.06 MB / 0.5042 GB, free: 37.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/0.5478, allocations: 1.1 MB / 0.5053 GB, free: 36.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002289/0.5501, allocations: 1.87 MB / 0.5071 GB, free: 34.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.5502, allocations: 480.8 kB / 0.5076 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.5527, allocations: 1.122 MB / 0.5087 GB, free: 33.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004386/0.5571, allocations: 7.168 MB / 0.5157 GB, free: 23.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008719/0.5658, allocations: 9.161 MB / 0.5246 GB, free: 11.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/0.566, allocations: 40 kB / 0.5246 GB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01668/0.5826, allocations: 7.203 MB / 0.5317 GB, free: 4.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.901e-05/0.5827, allocations: 64 kB / 0.5317 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/0.5829, allocations: 136 kB / 0.5319 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/0.5852, allocations: 0.6855 MB / 0.5325 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00631/0.5915, allocations: 1.817 MB / 0.5343 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006281/0.5977, allocations: 3.46 MB / 0.5377 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007133/0.6049, allocations: 455.6 kB / 0.5381 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/0.6067, allocations: 467.8 kB / 0.5386 GB, free: 13.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * 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 (857): * Single equations (assignments): 853 * 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.004638/0.6113, allocations: 0.8433 MB / 0.5394 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00199/0.6133, allocations: 461.5 kB / 0.5398 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/0.6236, allocations: 3.171 MB / 0.5429 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-05/0.6237, allocations: 31.83 kB / 0.543 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/0.6237, allocations: 11.94 kB / 0.543 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.348e-05/0.6237, allocations: 15.95 kB / 0.543 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03011/0.6539, allocations: 9.164 MB / 0.5519 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/0.6539, allocations: 4 kB / 0.5519 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003717/0.6576, allocations: 0.6279 MB / 0.5526 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00281/0.6604, allocations: 0.5117 MB / 0.5531 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/0.6614, allocations: 105.3 kB / 0.5532 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/0.6686, allocations: 3.212 MB / 0.5563 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.6686, allocations: 12.56 kB / 0.5563 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.6832, allocations: 4.706 MB / 0.5609 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003491/0.6867, allocations: 0.8018 MB / 0.5617 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/0.6881, allocations: 51.98 kB / 0.5617 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/0.692, allocations: 215.7 kB / 0.5619 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008774/0.6928, allocations: 221.5 kB / 0.5621 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004986/0.6933, allocations: 127.3 kB / 0.5623 GB, free: 4.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005143/0.6985, allocations: 1.92 MB / 0.5641 GB, free: 2.648 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6985, allocations: 0 / 0.5641 GB, free: 2.648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008662/0.7071, allocations: 1.326 MB / 0.5654 GB, free: 1.324 MB / 410.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 (228): * Single equations (assignments): 224 * 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.001303/0.7084, allocations: 217 kB / 0.5656 GB, free: 1.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01375/0.7222, allocations: 4.553 MB / 0.5701 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.7222, allocations: 4 kB / 0.5701 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004645/0.7268, allocations: 1.567 MB / 0.5716 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005298/0.7321, allocations: 0.4967 MB / 0.5721 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/0.7589, allocations: 9.962 MB / 0.5818 GB, free: 400 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00765/0.7665, allocations: 2.991 MB / 0.5848 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006658/0.7732, allocations: 1.915 MB / 0.5866 GB, free: 11.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/0.7754, allocations: 464.1 kB / 0.5871 GB, free: 10.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/0.7754, allocations: 0 / 0.5871 GB, free: 10.98 MB / 442.7 MB Notification: Performance of Templates: time 0.2778/1.053, allocations: 50.99 MB / 0.6369 GB, free: 147.5 MB / 458.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9290597080253065]