Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001374/0.001374, allocations: 87.5 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001459/0.001459, allocations: 165.9 kB / 23.95 MB, free: 4.148 MB / 14.72 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.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.2111/0.2111, allocations: 34.25 MB / 294.8 MB, free: 14.54 MB / 286.1 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_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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.716e-05, allocations: 2.281 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2181/0.2181, allocations: 11.39 MB / 454.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008459/0.2266, allocations: 4.121 MB / 458.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.229, allocations: 97.62 kB / 458.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007082/0.2361, allocations: 3.791 MB / 462.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00623/0.2423, allocations: 2.1 MB / 464.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.2445, allocations: 0.8746 MB / 465 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008049/0.2525, allocations: 4.632 MB / 469.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004858/0.2574, allocations: 3.951 MB / 473.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.2613, allocations: 2.791 MB / 476.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.2644, allocations: 2.519 MB / 478.9 MB, free: 20 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006506/0.2651, allocations: 422.1 kB / 479.4 MB, free: 20 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.2672, allocations: 1.087 MB / 480.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002305/0.2695, allocations: 2.351 MB / 482.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.2716, allocations: 1.527 MB / 484.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.2818, allocations: 8.138 MB / 492.5 MB, free: 4.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2818, allocations: 0 / 492.5 MB, free: 4.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2818, allocations: 0 / 492.5 MB, free: 4.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002285/0.282, allocations: 0 / 492.5 MB, free: 4.051 MB / 382.1 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.02197/0.304, allocations: 6.413 MB / 498.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.304, allocations: 16.02 kB / 498.9 MB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007787/0.3118, allocations: 2.037 MB / 0.4892 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006071/0.3179, allocations: 2.623 MB / 0.4917 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/0.3182, allocations: 293 kB / 0.492 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/0.3193, allocations: 391.8 kB / 0.4924 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.026/0.3453, allocations: 12.31 MB / 0.5044 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.3454, allocations: 43.64 kB / 0.5045 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005707/0.346, allocations: 183.9 kB / 0.5046 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004492/0.3505, allocations: 2.194 MB / 0.5068 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02467/0.3751, allocations: 11.25 MB / 0.5178 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06177/0.4369, allocations: 43.2 MB / 0.56 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01954/0.4564, allocations: 5.066 MB / 0.5649 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005282/0.4617, allocations: 3.175 MB / 0.568 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.4628, allocations: 248.7 kB / 0.5682 GB, free: 8.645 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.215e-05/0.4628, allocations: 59.67 kB / 0.5683 GB, free: 8.582 MB / 478.1 MB Notification: Performance of pre-optimization done (n=203): time 6.182e-06/0.4628, allocations: 7.875 kB / 0.5683 GB, free: 8.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=234): time 0.08298/0.5458, allocations: 28.25 MB / 0.5959 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.5459, allocations: 154.5 kB / 0.596 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005962/0.5519, allocations: 4.014 MB / 0.6 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006745/0.5526, allocations: 61.7 kB / 0.6 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002937/0.5555, allocations: 3.513 MB / 0.6034 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.5569, allocations: 0.9147 MB / 0.6043 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/0.5591, allocations: 1.439 MB / 0.6057 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5593, allocations: 301.1 kB / 0.606 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005265/0.5645, allocations: 3.288 MB / 0.6092 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008864/0.5734, allocations: 7.102 MB / 0.6162 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/0.5899, allocations: 11.18 MB / 0.6271 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/0.5901, allocations: 43.94 kB / 0.6271 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.2671/0.8572, allocations: 11.28 MB / 0.6382 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.8573, allocations: 67.25 kB / 0.6382 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/0.8575, allocations: 133.3 kB / 0.6384 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/0.8609, allocations: 1.121 MB / 0.6394 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006993/0.8678, allocations: 1.724 MB / 0.6411 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008969/0.8768, allocations: 6.164 MB / 0.6471 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006253/0.8831, allocations: 436 kB / 0.6476 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/0.8844, allocations: 459.5 kB / 0.648 GB, free: 159.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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.005316/0.8898, allocations: 2.314 MB / 0.6503 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.8908, allocations: 370.4 kB / 0.6506 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.9015, allocations: 6.184 MB / 0.6567 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/0.9015, allocations: 28.5 kB / 0.6567 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.9015, allocations: 4.312 kB / 0.6567 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.9016, allocations: 12.73 kB / 0.6567 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.9202, allocations: 11.54 MB / 0.668 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.9202, allocations: 5.812 kB / 0.668 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/0.923, allocations: 0.5822 MB / 0.6685 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.9254, allocations: 0.9534 MB / 0.6695 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.9257, allocations: 104.1 kB / 0.6696 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006363/0.932, allocations: 5.918 MB / 0.6754 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.932, allocations: 5.688 kB / 0.6754 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/0.9445, allocations: 10.47 MB / 0.6856 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/0.9464, allocations: 0.8051 MB / 0.6864 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005538/0.947, allocations: 48 kB / 0.6864 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/0.9493, allocations: 203.7 kB / 0.6866 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005112/0.9498, allocations: 209.5 kB / 0.6868 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/0.95, allocations: 119.5 kB / 0.6869 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002728/0.9527, allocations: 2.335 MB / 0.6892 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.9527, allocations: 0 / 0.6892 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005406/0.9581, allocations: 1.237 MB / 0.6904 GB, free: 135.5 MB / 0.5294 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 (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.0005324/0.9587, allocations: 203.9 kB / 0.6906 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01002/0.9687, allocations: 7.501 MB / 0.6979 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.9687, allocations: 4.188 kB / 0.6979 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.9723, allocations: 2.851 MB / 0.7007 GB, free: 125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.975, allocations: 444.3 kB / 0.7011 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.9913, allocations: 11.89 MB / 0.7128 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/0.9943, allocations: 3.102 MB / 0.7158 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004469/0.9988, allocations: 2.195 MB / 0.7179 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/1, allocations: 456.1 kB / 0.7184 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/1, allocations: 0 / 0.7184 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.07803/1.078, allocations: 49.03 MB / 0.7662 GB, free: 58.31 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.593246690928936]