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.001372/0.001372, allocations: 74.97 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001583/0.001583, allocations: 173.2 kB / 23.22 MB, free: 4.887 MB / 14.72 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.592/1.592, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 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.2318/0.2318, allocations: 32.38 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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 2.345e-06/2.345e-06, allocations: 0 / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.868e-05/4.103e-05, allocations: 2.281 kB / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01659/0.01663, allocations: 12.06 MB / 419.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.02724, allocations: 4.194 MB / 423.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.0297, allocations: 103.6 kB / 423.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00805/0.03775, allocations: 3.831 MB / 427.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006998/0.04474, allocations: 2.243 MB / 429.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.04721, allocations: 0.877 MB / 430.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007973/0.05518, allocations: 4.8 MB / 435.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006887/0.06207, allocations: 4.065 MB / 439.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007921/0.06999, allocations: 2.931 MB / 442.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006155/0.07614, allocations: 2.657 MB / 445.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002166/0.07831, allocations: 444 kB / 445.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003899/0.08221, allocations: 1.127 MB / 446.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003961/0.08617, allocations: 2.505 MB / 449.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004331/0.0905, allocations: 1.624 MB / 450.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.1062, allocations: 8.672 MB / 459.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1062, allocations: 0 / 459.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1062, allocations: 0 / 459.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003916/0.1066, allocations: 0 / 459.5 MB, free: 14.64 MB / 398.1 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.0253/0.1319, allocations: 6.679 MB / 466.2 MB, free: 7.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.132, allocations: 8.031 kB / 466.2 MB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00836/0.1403, allocations: 2.072 MB / 468.3 MB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007701/0.148, allocations: 2.744 MB / 471 MB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/0.1484, allocations: 312 kB / 471.3 MB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.15, allocations: 407.8 kB / 471.7 MB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2979/0.4479, allocations: 12.98 MB / 484.7 MB, free: 60.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/0.4481, allocations: 54.86 kB / 484.7 MB, free: 60.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009434/0.4491, allocations: 188.5 kB / 484.9 MB, free: 60.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005426/0.4545, allocations: 2.376 MB / 487.3 MB, free: 59.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/0.4827, allocations: 11.83 MB / 499.1 MB, free: 54.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05753/0.5403, allocations: 45.03 MB / 0.5314 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01768/0.558, allocations: 5.276 MB / 0.5366 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/0.5619, allocations: 3.322 MB / 0.5398 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009266/0.5628, allocations: 248.1 kB / 0.54 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.573e-05/0.5629, allocations: 67.73 kB / 0.5401 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 6.402e-06/0.5629, allocations: 0 / 0.5401 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=255): time 0.08929/0.6522, allocations: 29.46 MB / 0.5689 GB, free: 2.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.6523, allocations: 166.4 kB / 0.569 GB, free: 2.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006974/0.6593, allocations: 4.156 MB / 0.5731 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009366/0.6602, allocations: 69.7 kB / 0.5732 GB, free: 14.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003884/0.6641, allocations: 3.677 MB / 0.5768 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/0.6659, allocations: 0.9844 MB / 0.5777 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002489/0.6684, allocations: 1.497 MB / 0.5792 GB, free: 8.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6685, allocations: 301.1 kB / 0.5795 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005647/0.6742, allocations: 3.461 MB / 0.5828 GB, free: 4.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009527/0.6837, allocations: 7.399 MB / 0.5901 GB, free: 10.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/0.7021, allocations: 11.69 MB / 0.6015 GB, free: 13.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001727/0.7023, allocations: 40 kB / 0.6015 GB, free: 13.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02614/0.7284, allocations: 11.8 MB / 0.613 GB, free: 1.484 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.7286, allocations: 68 kB / 0.6131 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/0.7287, allocations: 136 kB / 0.6132 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003249/0.732, allocations: 1.126 MB / 0.6143 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007795/0.7398, allocations: 1.813 MB / 0.6161 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009904/0.7497, allocations: 6.171 MB / 0.6221 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007414/0.7571, allocations: 466.3 kB / 0.6226 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/0.7588, allocations: 467.8 kB / 0.623 GB, free: 7.152 MB / 494.1 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.006183/0.765, allocations: 2.449 MB / 0.6254 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/0.7664, allocations: 385.4 kB / 0.6258 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.7795, allocations: 6.547 MB / 0.6322 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.505e-05/0.7796, allocations: 28 kB / 0.6322 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.7796, allocations: 4 kB / 0.6322 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-05/0.7796, allocations: 11.95 kB / 0.6322 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02703/0.8067, allocations: 12.22 MB / 0.6441 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/0.8067, allocations: 0 / 0.6441 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/0.8102, allocations: 0.6357 MB / 0.6448 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.8131, allocations: 0.951 MB / 0.6457 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005593/0.8136, allocations: 103.9 kB / 0.6458 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009009/0.8227, allocations: 5.919 MB / 0.6516 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.8227, allocations: 3.938 kB / 0.6516 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2622/1.085, allocations: 11.06 MB / 0.6624 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00353/1.088, allocations: 0.8481 MB / 0.6632 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008389/1.089, allocations: 52.97 kB / 0.6633 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.092, allocations: 231.2 kB / 0.6635 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007861/1.093, allocations: 213.2 kB / 0.6637 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003734/1.093, allocations: 123.3 kB / 0.6638 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005116/1.098, allocations: 2.423 MB / 0.6662 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/1.098, allocations: 0 / 0.6662 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009112/1.108, allocations: 1.328 MB / 0.6675 GB, free: 170 MB / 0.5137 GB 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.00109/1.109, allocations: 220.5 kB / 0.6677 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01557/1.124, allocations: 7.891 MB / 0.6754 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.124, allocations: 5.938 kB / 0.6754 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00539/1.13, allocations: 3.016 MB / 0.6783 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005413/1.135, allocations: 458 kB / 0.6788 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/1.159, allocations: 12.54 MB / 0.691 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004873/1.164, allocations: 3.278 MB / 0.6942 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006022/1.17, allocations: 2.305 MB / 0.6965 GB, free: 160 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001967/1.172, allocations: 465.8 kB / 0.6969 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.667e-06/1.172, allocations: 4 kB / 0.6969 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.08597/1.258, allocations: 50.81 MB / 0.7465 GB, free: 110.4 MB / 0.5137 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] 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: 8.384880911558867]