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.00162/0.00162, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001537/0.001537, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.539/1.539, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.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.2393/0.2393, allocations: 46.9 MB / 357.4 MB, free: 10.48 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 0.002298/0.002298, allocations: 85.06 kB / 0.4917 GB, free: 26.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1405, allocations: 65.98 MB / 0.5562 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01528/0.1558, allocations: 13.1 MB / 0.569 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.1663, allocations: 4.302 MB / 0.5732 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.1683, allocations: 79.81 kB / 0.5732 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006736/0.175, allocations: 3.75 MB / 0.5769 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005996/0.181, allocations: 2.019 MB / 0.5789 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.1833, allocations: 0.8187 MB / 0.5797 GB, free: 412 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00721/0.1905, allocations: 4.224 MB / 0.5838 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006124/0.1966, allocations: 4.04 MB / 0.5877 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.2015, allocations: 1.85 MB / 0.5895 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005153/0.2067, allocations: 2.644 MB / 0.5921 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.2086, allocations: 416 kB / 0.5925 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.2122, allocations: 1.166 MB / 0.5937 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003083/0.2153, allocations: 2.251 MB / 0.5959 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004106/0.2194, allocations: 2.606 MB / 0.5984 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.2315, allocations: 8.105 MB / 0.6063 GB, free: 4.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.2315, allocations: 4 kB / 0.6063 GB, free: 4.953 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2315, allocations: 0 / 0.6063 GB, free: 4.953 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002712/0.2318, allocations: 4 kB / 0.6063 GB, free: 4.949 MB / 462.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.369/0.6008, allocations: 6.34 MB / 0.6125 GB, free: 45.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.6008, allocations: 9.672 kB / 0.6125 GB, free: 45.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008715/0.6096, allocations: 2.001 MB / 0.6145 GB, free: 45.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008389/0.6179, allocations: 2.694 MB / 0.6171 GB, free: 44.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004755/0.6184, allocations: 293.4 kB / 0.6174 GB, free: 44.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/0.6209, allocations: 393.8 kB / 0.6178 GB, free: 44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/0.6498, allocations: 12.21 MB / 0.6297 GB, free: 38.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/0.65, allocations: 43.08 kB / 0.6297 GB, free: 38.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006886/0.6507, allocations: 184 kB / 0.6299 GB, free: 38.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004128/0.6548, allocations: 2.192 MB / 0.6321 GB, free: 37.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02323/0.6781, allocations: 11.2 MB / 0.643 GB, free: 31.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05903/0.7371, allocations: 45.96 MB / 0.6879 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.7557, allocations: 5.318 MB / 0.6931 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004962/0.7607, allocations: 3.172 MB / 0.6962 GB, free: 7.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.7618, allocations: 0.691 MB / 0.6968 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.757e-05/0.7619, allocations: 65.83 kB / 0.6969 GB, free: 6.816 MB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 5.37e-06/0.7619, allocations: 0 / 0.6969 GB, free: 6.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=234): time 0.0804/0.8423, allocations: 27.54 MB / 0.7238 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.8424, allocations: 158.5 kB / 0.724 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006808/0.8492, allocations: 4.411 MB / 0.7283 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005647/0.8498, allocations: 61.7 kB / 0.7283 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003196/0.853, allocations: 3.512 MB / 0.7318 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/0.8546, allocations: 0.9263 MB / 0.7327 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00225/0.8568, allocations: 1.419 MB / 0.734 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.857, allocations: 305.1 kB / 0.7343 GB, free: 308 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005226/0.8622, allocations: 3.276 MB / 0.7375 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008771/0.871, allocations: 7.086 MB / 0.7445 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01554/0.8865, allocations: 11.15 MB / 0.7553 GB, free: 7.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.8866, allocations: 40 kB / 0.7554 GB, free: 6.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02398/0.9106, allocations: 11.31 MB / 0.7664 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.9107, allocations: 67.94 kB / 0.7665 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002565/0.911, allocations: 132.1 kB / 0.7666 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/0.9143, allocations: 1.126 MB / 0.7677 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007201/0.9215, allocations: 1.688 MB / 0.7694 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009413/0.9309, allocations: 6.35 MB / 0.7756 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006432/0.9373, allocations: 399.7 kB / 0.7759 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/0.939, allocations: 439.8 kB / 0.7764 GB, free: 1.332 MB / 0.5606 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.005474/0.9444, allocations: 2.317 MB / 0.7786 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/0.9459, allocations: 413.2 kB / 0.779 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.9582, allocations: 6.175 MB / 0.7851 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/0.9583, allocations: 24 kB / 0.7851 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.9583, allocations: 7.938 kB / 0.7851 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/0.9583, allocations: 11.95 kB / 0.7851 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/0.984, allocations: 12.88 MB / 0.7977 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.984, allocations: 4 kB / 0.7977 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/0.987, allocations: 0.5463 MB / 0.7982 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/0.9897, allocations: 0.9545 MB / 0.7991 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004932/0.9902, allocations: 87.83 kB / 0.7992 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008889/0.9991, allocations: 6.099 MB / 0.8052 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.077e-05/0.9991, allocations: 4 kB / 0.8052 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.016, allocations: 10.49 MB / 0.8154 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00253/1.019, allocations: 0.9041 MB / 0.8163 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007868/1.02, allocations: 40 kB / 0.8164 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.022, allocations: 167.8 kB / 0.8165 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005669/1.022, allocations: 185.6 kB / 0.8167 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.023, allocations: 108 kB / 0.8168 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004941/1.028, allocations: 2.769 MB / 0.8195 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/1.028, allocations: 0 / 0.8195 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006235/1.034, allocations: 1.184 MB / 0.8207 GB, free: 3.562 MB / 0.6075 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.000637/1.034, allocations: 182.7 kB / 0.8208 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.049, allocations: 7.473 MB / 0.8281 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.049, allocations: 7.938 kB / 0.8281 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005768/1.055, allocations: 2.833 MB / 0.8309 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.059, allocations: 498.1 kB / 0.8314 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/1.081, allocations: 11.99 MB / 0.8431 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/1.086, allocations: 3.625 MB / 0.8466 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005661/1.091, allocations: 2.257 MB / 0.8488 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/1.093, allocations: 415.1 kB / 0.8492 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/1.093, allocations: 0 / 0.8492 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of Templates: time 0.3998/1.493, allocations: 53.27 MB / 0.9012 GB, free: 194.6 MB / 0.6387 GB " [Timeout remaining time 658] 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.0.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: 8.134282799437642]