Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001463/0.001463, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001527/0.001527, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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.462/1.462, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3323/0.3323, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.504e-05, allocations: 2.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01608/0.01611, allocations: 11.41 MB / 386.7 MB, free: 9.512 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.02643, allocations: 4.115 MB / 390.8 MB, free: 5.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.02861, allocations: 99.5 kB / 390.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008488/0.03709, allocations: 3.851 MB / 394.7 MB, free: 1.426 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006966/0.04406, allocations: 2.107 MB / 396.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.04685, allocations: 0.8847 MB / 397.7 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008097/0.05495, allocations: 4.63 MB / 402.4 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007635/0.06259, allocations: 4.051 MB / 406.4 MB, free: 5.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006253/0.06884, allocations: 2.791 MB / 409.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005072/0.07391, allocations: 2.509 MB / 411.7 MB, free: 348 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.07533, allocations: 420 kB / 412.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.07819, allocations: 1.1 MB / 413.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003381/0.08157, allocations: 2.357 MB / 415.6 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003348/0.08492, allocations: 1.527 MB / 417.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.09703, allocations: 8.138 MB / 425.2 MB, free: 2.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.09703, allocations: 0 / 425.2 MB, free: 2.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09703, allocations: 0 / 425.2 MB, free: 2.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000225/0.09726, allocations: 0 / 425.2 MB, free: 2.77 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02301/0.1203, allocations: 6.42 MB / 431.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.1203, allocations: 12.03 kB / 431.7 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009104/0.1294, allocations: 2.584 MB / 434.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006808/0.1362, allocations: 2.647 MB / 436.9 MB, free: 7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.1365, allocations: 299.6 kB / 437.2 MB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.1378, allocations: 391.8 kB / 437.6 MB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1785/0.3163, allocations: 12.3 MB / 449.9 MB, free: 94.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/0.3165, allocations: 43.78 kB / 449.9 MB, free: 94.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007995/0.3173, allocations: 183.8 kB / 450.1 MB, free: 94.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003894/0.3212, allocations: 2.196 MB / 452.3 MB, free: 94.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/0.3438, allocations: 11.26 MB / 463.6 MB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05602/0.3998, allocations: 42.73 MB / 0.4944 GB, free: 63.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01724/0.4171, allocations: 5.085 MB / 0.4994 GB, free: 60.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/0.4208, allocations: 3.183 MB / 0.5025 GB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008006/0.4216, allocations: 251.6 kB / 0.5027 GB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.4216, allocations: 59.7 kB / 0.5028 GB, free: 57.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 5.66e-06/0.4216, allocations: 0 / 0.5028 GB, free: 57.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.07202/0.4937, allocations: 28.51 MB / 0.5306 GB, free: 29.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.4937, allocations: 150.5 kB / 0.5308 GB, free: 29.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004931/0.4986, allocations: 4.004 MB / 0.5347 GB, free: 25.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000489/0.4991, allocations: 61.7 kB / 0.5348 GB, free: 25.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.5009, allocations: 3.504 MB / 0.5382 GB, free: 21.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001612/0.5025, allocations: 0.9162 MB / 0.5391 GB, free: 20.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00396/0.5065, allocations: 1.442 MB / 0.5405 GB, free: 19.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.5066, allocations: 301.1 kB / 0.5408 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004355/0.5109, allocations: 3.292 MB / 0.544 GB, free: 15.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006479/0.5174, allocations: 7.084 MB / 0.5509 GB, free: 6.926 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/0.5311, allocations: 11.17 MB / 0.5618 GB, free: 9.895 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001605/0.5313, allocations: 40 kB / 0.5618 GB, free: 9.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02683/0.5581, allocations: 11.64 MB / 0.5732 GB, free: 14.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.5584, allocations: 67.98 kB / 0.5733 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002866/0.5586, allocations: 136.2 kB / 0.5734 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003522/0.5622, allocations: 1.135 MB / 0.5745 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00708/0.5692, allocations: 1.723 MB / 0.5762 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.5801, allocations: 6.18 MB / 0.5822 GB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/0.5863, allocations: 435.6 kB / 0.5826 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/0.588, allocations: 460.3 kB / 0.5831 GB, free: 3.984 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (816): * Single equations (assignments): 812 * 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.005931/0.5939, allocations: 2.316 MB / 0.5853 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/0.5959, allocations: 441.2 kB / 0.5858 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.6096, allocations: 6.18 MB / 0.5918 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-05/0.6096, allocations: 26.97 kB / 0.5918 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/0.6097, allocations: 4 kB / 0.5918 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-05/0.6097, allocations: 7.969 kB / 0.5918 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2185/0.8282, allocations: 11.28 MB / 0.6029 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/0.8282, allocations: 2.969 kB / 0.6029 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003117/0.8313, allocations: 0.5754 MB / 0.6034 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002717/0.8341, allocations: 0.9783 MB / 0.6044 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006748/0.8347, allocations: 100.5 kB / 0.6045 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006959/0.8417, allocations: 5.936 MB / 0.6103 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.8417, allocations: 6.375 kB / 0.6103 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.8568, allocations: 10.55 MB / 0.6206 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002468/0.8593, allocations: 0.8018 MB / 0.6214 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007404/0.86, allocations: 47 kB / 0.6214 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/0.8624, allocations: 216.1 kB / 0.6216 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005493/0.863, allocations: 206 kB / 0.6218 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/0.8632, allocations: 118.4 kB / 0.6219 GB, free: 124 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003545/0.8668, allocations: 2.33 MB / 0.6242 GB, free: 123.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8668, allocations: 3.469 kB / 0.6242 GB, free: 123.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006462/0.8732, allocations: 1.243 MB / 0.6254 GB, free: 123.1 MB / 458.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 (206): * Single equations (assignments): 202 * 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.0007016/0.8739, allocations: 194.8 kB / 0.6256 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01156/0.8855, allocations: 7.503 MB / 0.6329 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.8855, allocations: 0 / 0.6329 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004259/0.8898, allocations: 2.864 MB / 0.6357 GB, free: 119.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.8928, allocations: 0.4985 MB / 0.6362 GB, free: 119.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/0.9121, allocations: 12.27 MB / 0.6482 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00392/0.916, allocations: 3.104 MB / 0.6512 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005073/0.9211, allocations: 2.186 MB / 0.6534 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.9225, allocations: 452 kB / 0.6538 GB, free: 113.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9225, allocations: 0 / 0.6538 GB, free: 113.2 MB / 458.7 MB Notification: Performance of Templates: time 0.07634/0.9989, allocations: 49.33 MB / 0.702 GB, free: 67.31 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.550271300016902]