Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002628/0.002628, allocations: 91.55 kB / 20.21 MB, free: 4.188 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.003176/0.003176, allocations: 157.3 kB / 23.52 MB, free: 0.8828 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.366/1.366, allocations: 158.6 MB / 185.3 MB, free: 2.898 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.2203/0.2203, allocations: 32.38 MB / 270 MB, free: 14.63 MB / 266.7 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 346.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.033e-05, allocations: 2.312 kB / 346.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01089/0.01092, allocations: 11.39 MB / 358.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.02124, allocations: 3.836 MB / 362.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.02354, allocations: 75.69 kB / 362.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006741/0.03028, allocations: 2.912 MB / 365.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.03632, allocations: 2.01 MB / 367.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.03845, allocations: 0.7523 MB / 367.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006851/0.0453, allocations: 4.134 MB / 372.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005866/0.05117, allocations: 3.269 MB / 375.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006209/0.05738, allocations: 2.362 MB / 377.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005449/0.06283, allocations: 2.326 MB / 380 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.06423, allocations: 356 kB / 380.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.06735, allocations: 1.034 MB / 381.4 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003059/0.07041, allocations: 2.084 MB / 383.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002873/0.07328, allocations: 1.32 MB / 384.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.08645, allocations: 7.273 MB / 392.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.08645, allocations: 0 / 392.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08646, allocations: 0 / 392.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002684/0.08672, allocations: 7.938 kB / 392.1 MB, free: 12.45 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02384/0.1106, allocations: 6.383 MB / 398.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1106, allocations: 8.031 kB / 398.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009043/0.1197, allocations: 2.401 MB / 400.9 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006957/0.1266, allocations: 2.141 MB / 403 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.1269, allocations: 238.2 kB / 403.2 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.1283, allocations: 323.8 kB / 403.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/0.1489, allocations: 6.807 MB / 410.4 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001664/0.1491, allocations: 47.62 kB / 410.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005488/0.1496, allocations: 155.8 kB / 410.6 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004195/0.1538, allocations: 1.982 MB / 412.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.171, allocations: 3.957 MB / 416.5 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2476/0.4186, allocations: 46.6 MB / 463.1 MB, free: 66.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.4309, allocations: 2.152 MB / 465.3 MB, free: 66.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.4322, allocations: 0.6248 MB / 465.9 MB, free: 66.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007413/0.4329, allocations: 241.1 kB / 466.1 MB, free: 66.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.433, allocations: 56.08 kB / 466.2 MB, free: 66.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 4.429e-06/0.433, allocations: 0 / 466.2 MB, free: 66.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.04177/0.4747, allocations: 10.49 MB / 476.7 MB, free: 64.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.4748, allocations: 147.8 kB / 476.8 MB, free: 63.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/0.4801, allocations: 4.337 MB / 481.1 MB, free: 62.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003534/0.4805, allocations: 52.36 kB / 481.2 MB, free: 62.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/0.4825, allocations: 3.621 MB / 484.8 MB, free: 59.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000879/0.4834, allocations: 0.713 MB / 485.5 MB, free: 58.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.4849, allocations: 1.51 MB / 487 MB, free: 57.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.485, allocations: 484.8 kB / 487.5 MB, free: 56.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.4865, allocations: 0.7175 MB / 488.2 MB, free: 56.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/0.4897, allocations: 6.402 MB / 494.6 MB, free: 47.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005816/0.4955, allocations: 7.824 MB / 0.4907 GB, free: 37.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/0.4956, allocations: 36 kB / 0.4907 GB, free: 36.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01053/0.5062, allocations: 5.759 MB / 0.4963 GB, free: 31.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.5063, allocations: 63.94 kB / 0.4964 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.5064, allocations: 132.9 kB / 0.4965 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.5084, allocations: 0.6355 MB / 0.4971 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00362/0.512, allocations: 1.38 MB / 0.4985 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.5159, allocations: 3.336 MB / 0.5017 GB, free: 25.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/0.5197, allocations: 355.7 kB / 0.5021 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/0.5201, allocations: 372 kB / 0.5024 GB, free: 24.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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 (722): * Single equations (assignments): 718 * 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.001527/0.5216, allocations: 0.7508 MB / 0.5032 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.5222, allocations: 361.8 kB / 0.5035 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.5262, allocations: 1.709 MB / 0.5052 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.5262, allocations: 20 kB / 0.5052 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5262, allocations: 4 kB / 0.5052 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.5262, allocations: 7.969 kB / 0.5052 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.5385, allocations: 6.273 MB / 0.5113 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.5385, allocations: 4 kB / 0.5114 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.5399, allocations: 295.6 kB / 0.5116 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/0.5417, allocations: 451 kB / 0.5121 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.5419, allocations: 39.97 kB / 0.5121 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/0.5456, allocations: 3.049 MB / 0.5151 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5456, allocations: 0 / 0.5151 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/0.5513, allocations: 2.887 MB / 0.5179 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/0.5532, allocations: 0.5132 MB / 0.5184 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006388/0.5538, allocations: 28 kB / 0.5184 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.5554, allocations: 127.8 kB / 0.5185 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003706/0.5558, allocations: 116.7 kB / 0.5187 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.5559, allocations: 55.97 kB / 0.5187 GB, free: 7.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002963/0.5589, allocations: 1.768 MB / 0.5204 GB, free: 6.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5589, allocations: 0 / 0.5204 GB, free: 6.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00512/0.564, allocations: 1.031 MB / 0.5214 GB, free: 5.176 MB / 378.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 (126): * Single equations (assignments): 122 * 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.0004829/0.5645, allocations: 178.9 kB / 0.5216 GB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005773/0.5702, allocations: 3.309 MB / 0.5248 GB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.5702, allocations: 4.062 kB / 0.5249 GB, free: 1.684 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.5716, allocations: 0.8537 MB / 0.5257 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.5742, allocations: 397.8 kB / 0.5261 GB, free: 448 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/0.5903, allocations: 7.441 MB / 0.5333 GB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003699/0.594, allocations: 2.456 MB / 0.5357 GB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004256/0.5983, allocations: 1.605 MB / 0.5373 GB, free: 4.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008269/0.5991, allocations: 264.4 kB / 0.5375 GB, free: 4.562 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/0.5991, allocations: 0 / 0.5375 GB, free: 4.562 MB / 394.7 MB Notification: Performance of Templates: time 0.0746/0.6737, allocations: 31.2 MB / 0.568 GB, free: 5.469 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.00892714294605]