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.001275/0.001275, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001398/0.001398, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2309/0.2309, allocations: 46.94 MB / 360.8 MB, free: 3.941 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.002392/0.002392, allocations: 83.86 kB / 0.4967 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3776, allocations: 66.08 MB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01543/0.3931, allocations: 11.39 MB / 0.5723 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4033, allocations: 4.118 MB / 0.5763 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.4055, allocations: 95.56 kB / 0.5764 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007289/0.4128, allocations: 3.602 MB / 0.5799 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005747/0.4185, allocations: 2.031 MB / 0.5819 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.4209, allocations: 0.815 MB / 0.5827 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006279/0.4272, allocations: 4.215 MB / 0.5868 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004717/0.4319, allocations: 3.683 MB / 0.5904 GB, free: 5.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.435, allocations: 1.873 MB / 0.5923 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.4389, allocations: 2.46 MB / 0.5947 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000839/0.4398, allocations: 416 kB / 0.5951 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.4419, allocations: 1.038 MB / 0.5961 GB, free: 56 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002172/0.444, allocations: 2.252 MB / 0.5983 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002267/0.4463, allocations: 1.942 MB / 0.6002 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009516/0.4558, allocations: 8.148 MB / 0.6081 GB, free: 3.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4558, allocations: 0 / 0.6081 GB, free: 3.664 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4558, allocations: 0 / 0.6081 GB, free: 3.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000281/0.4561, allocations: 4 kB / 0.6081 GB, free: 3.66 MB / 446.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.02156/0.4777, allocations: 6.276 MB / 0.6143 GB, free: 13.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4777, allocations: 8.031 kB / 0.6143 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007534/0.4852, allocations: 1.998 MB / 0.6162 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007312/0.4926, allocations: 2.631 MB / 0.6188 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.4928, allocations: 291.5 kB / 0.6191 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.4941, allocations: 399.7 kB / 0.6194 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02925/0.5233, allocations: 12.23 MB / 0.6314 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002456/0.5236, allocations: 51.58 kB / 0.6314 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/0.525, allocations: 179.8 kB / 0.6316 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006317/0.5313, allocations: 2.19 MB / 0.6337 GB, free: 8.578 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02858/0.5599, allocations: 11.17 MB / 0.6447 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07358/0.6335, allocations: 42.95 MB / 0.6866 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/0.6525, allocations: 4.835 MB / 0.6913 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006387/0.6589, allocations: 3.176 MB / 0.6944 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.6603, allocations: 244.9 kB / 0.6947 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.6604, allocations: 55.88 kB / 0.6947 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 9.388e-06/0.6604, allocations: 0 / 0.6947 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.1117/0.7721, allocations: 27.38 MB / 0.7215 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.7722, allocations: 154.5 kB / 0.7216 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005768/0.778, allocations: 3.924 MB / 0.7254 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000646/0.7786, allocations: 61.64 kB / 0.7255 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002803/0.7814, allocations: 3.552 MB / 0.729 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.7829, allocations: 0.9186 MB / 0.7299 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002206/0.7851, allocations: 1.423 MB / 0.7312 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7853, allocations: 313.1 kB / 0.7315 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2871/1.072, allocations: 3.271 MB / 0.7347 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00712/1.079, allocations: 7.089 MB / 0.7417 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.09, allocations: 11.16 MB / 0.7526 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/1.09, allocations: 40.34 kB / 0.7526 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01641/1.106, allocations: 11.25 MB / 0.7636 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/1.106, allocations: 60 kB / 0.7636 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/1.106, allocations: 136 kB / 0.7638 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/1.109, allocations: 1.12 MB / 0.7649 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005275/1.114, allocations: 1.689 MB / 0.7665 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006312/1.12, allocations: 6.184 MB / 0.7726 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/1.126, allocations: 394.4 kB / 0.7729 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008322/1.126, allocations: 439.8 kB / 0.7733 GB, free: 124.9 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.003194/1.13, allocations: 2.315 MB / 0.7756 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006772/1.13, allocations: 359.8 kB / 0.776 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007966/1.138, allocations: 6.132 MB / 0.7819 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.138, allocations: 24 kB / 0.782 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.138, allocations: 4 kB / 0.782 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/1.138, allocations: 7.969 kB / 0.782 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/1.154, allocations: 11.39 MB / 0.7931 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.154, allocations: 6.734 kB / 0.7931 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/1.157, allocations: 0.5463 MB / 0.7936 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/1.159, allocations: 0.947 MB / 0.7946 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/1.159, allocations: 83.89 kB / 0.7946 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006151/1.165, allocations: 5.921 MB / 0.8004 GB, free: 97.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.165, allocations: 4 kB / 0.8004 GB, free: 97.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.177, allocations: 10.44 MB / 0.8106 GB, free: 87.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/1.179, allocations: 0.775 MB / 0.8114 GB, free: 86.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005738/1.18, allocations: 40 kB / 0.8114 GB, free: 86.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.182, allocations: 167.8 kB / 0.8116 GB, free: 86.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004468/1.182, allocations: 189.1 kB / 0.8118 GB, free: 86.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.182, allocations: 107.9 kB / 0.8119 GB, free: 86.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002654/1.185, allocations: 2.273 MB / 0.8141 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.185, allocations: 0 / 0.8141 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005283/1.19, allocations: 1.168 MB / 0.8152 GB, free: 82.63 MB / 0.5606 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.0004498/1.191, allocations: 183.3 kB / 0.8154 GB, free: 82.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009392/1.2, allocations: 7.472 MB / 0.8227 GB, free: 75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.2, allocations: 8 kB / 0.8227 GB, free: 75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003381/1.204, allocations: 2.841 MB / 0.8255 GB, free: 72.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/1.207, allocations: 432.2 kB / 0.8259 GB, free: 71.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.225, allocations: 12.02 MB / 0.8376 GB, free: 59.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00316/1.228, allocations: 3.096 MB / 0.8406 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004674/1.233, allocations: 2.203 MB / 0.8428 GB, free: 54.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/1.234, allocations: 395.1 kB / 0.8432 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/1.234, allocations: 0 / 0.8432 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.08219/1.316, allocations: 53.51 MB / 0.8954 GB, free: 0.8945 MB / 0.5606 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.87454785220325]