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.0008556/0.0008556, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00367/0.00367, allocations: 158.5 kB / 24.7 MB, free: 8.906 MB / 18.57 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 0.8987/0.8987, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2617/0.2617, allocations: 34.24 MB / 295.6 MB, free: 0.668 MB / 266.7 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 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.478e-05, allocations: 2.281 kB / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.1847/0.1847, allocations: 11.4 MB / 454.8 MB, free: 37.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005552/0.1903, allocations: 4.105 MB / 458.9 MB, free: 35.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008583/0.1912, allocations: 95.84 kB / 459 MB, free: 35.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002885/0.194, allocations: 3.793 MB / 462.8 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.1966, allocations: 2.102 MB / 464.9 MB, free: 32.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009876/0.1975, allocations: 0.87 MB / 465.8 MB, free: 32.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.1999, allocations: 4.635 MB / 470.4 MB, free: 30.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.2021, allocations: 3.958 MB / 474.4 MB, free: 28.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.2041, allocations: 2.788 MB / 477.2 MB, free: 27.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.2064, allocations: 2.517 MB / 479.7 MB, free: 26.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003494/0.2068, allocations: 425.1 kB / 480.1 MB, free: 26.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.2079, allocations: 1.087 MB / 481.2 MB, free: 26.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.2093, allocations: 2.34 MB / 483.5 MB, free: 25.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.2105, allocations: 1.533 MB / 485.1 MB, free: 24.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008821/0.2193, allocations: 8.135 MB / 493.2 MB, free: 21.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2193, allocations: 0 / 493.2 MB, free: 21.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2193, allocations: 0 / 493.2 MB, free: 21.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001873/0.2195, allocations: 0 / 493.2 MB, free: 21.72 MB / 410.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.01398/0.2335, allocations: 6.423 MB / 499.6 MB, free: 18.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2335, allocations: 9.156 kB / 499.6 MB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/0.2376, allocations: 2.034 MB / 0.4899 GB, free: 17.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.2412, allocations: 2.615 MB / 0.4925 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.2414, allocations: 293.5 kB / 0.4927 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005836/0.242, allocations: 393.1 kB / 0.4931 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.2554, allocations: 12.31 MB / 0.5051 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.798e-05/0.2555, allocations: 51.56 kB / 0.5052 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003511/0.2558, allocations: 187.8 kB / 0.5054 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/0.2578, allocations: 2.186 MB / 0.5075 GB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.2719, allocations: 11.27 MB / 0.5185 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03668/0.3086, allocations: 43.21 MB / 0.5607 GB, free: 11.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0096/0.3182, allocations: 5.082 MB / 0.5657 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.3208, allocations: 3.187 MB / 0.5688 GB, free: 3.516 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/0.3212, allocations: 244.8 kB / 0.569 GB, free: 3.273 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3212, allocations: 59.81 kB / 0.5691 GB, free: 3.207 MB / 474.7 MB Notification: Performance of pre-optimization done (n=203): time 3.997e-06/0.3212, allocations: 0 / 0.5691 GB, free: 3.207 MB / 474.7 MB Notification: Performance of matching and sorting (n=234): time 0.04313/0.3644, allocations: 28.3 MB / 0.5967 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.3644, allocations: 150.5 kB / 0.5969 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/0.3685, allocations: 4.017 MB / 0.6008 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.3687, allocations: 65.7 kB / 0.6008 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/0.3702, allocations: 3.517 MB / 0.6043 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007177/0.3709, allocations: 0.9147 MB / 0.6052 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/0.3724, allocations: 1.439 MB / 0.6066 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.3725, allocations: 301.1 kB / 0.6069 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/0.3756, allocations: 3.296 MB / 0.6101 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/0.3802, allocations: 7.098 MB / 0.617 GB, free: 100 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008633/0.3888, allocations: 11.2 MB / 0.628 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.475e-05/0.3889, allocations: 39.75 kB / 0.628 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.2144/0.6033, allocations: 11.31 MB / 0.639 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.6033, allocations: 61.34 kB / 0.6391 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.956e-05/0.6034, allocations: 134.6 kB / 0.6392 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.6049, allocations: 1.125 MB / 0.6403 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/0.6077, allocations: 1.721 MB / 0.642 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/0.6121, allocations: 6.173 MB / 0.648 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.615, allocations: 435.2 kB / 0.6484 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/0.6154, allocations: 454.3 kB / 0.6489 GB, free: 144.9 MB / 0.5261 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.00295/0.6184, allocations: 2.321 MB / 0.6511 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/0.6189, allocations: 364.5 kB / 0.6515 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005629/0.6245, allocations: 6.2 MB / 0.6575 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/0.6245, allocations: 25.47 kB / 0.6576 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.6245, allocations: 3.188 kB / 0.6576 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.6245, allocations: 10.88 kB / 0.6576 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.6371, allocations: 11.56 MB / 0.6689 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.6371, allocations: 9.75 kB / 0.6689 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.6385, allocations: 0.5802 MB / 0.6695 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.6399, allocations: 0.9531 MB / 0.6704 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.6401, allocations: 98.98 kB / 0.6705 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005178/0.6453, allocations: 5.916 MB / 0.6763 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6453, allocations: 3.531 kB / 0.6763 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008537/0.6538, allocations: 10.51 MB / 0.6865 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.655, allocations: 0.8035 MB / 0.6873 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.6553, allocations: 46.47 kB / 0.6873 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.6564, allocations: 211.8 kB / 0.6876 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.6567, allocations: 206.8 kB / 0.6877 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.6568, allocations: 117 kB / 0.6879 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002303/0.6591, allocations: 2.334 MB / 0.6901 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6591, allocations: 0 / 0.6901 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003574/0.6627, allocations: 1.244 MB / 0.6914 GB, free: 127.9 MB / 0.5261 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.0003914/0.6631, allocations: 203.9 kB / 0.6915 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006554/0.6696, allocations: 7.515 MB / 0.6989 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6696, allocations: 0 / 0.6989 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.6718, allocations: 2.86 MB / 0.7017 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.6732, allocations: 447.1 kB / 0.7021 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.6845, allocations: 12.41 MB / 0.7142 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.6866, allocations: 3.101 MB / 0.7173 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.6879, allocations: 0.4923 MB / 0.7177 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/0.6879, allocations: 2.406 kB / 0.7177 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06549/0.7534, allocations: 93.78 MB / 0.8093 GB, free: 7.965 MB / 0.5261 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: 12.439462577924132]