Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.001876/0.001876, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002341/0.002341, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.603/1.603, allocations: 177.1 MB / 204.7 MB, free: 9.023 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.2152/0.2152, allocations: 34.25 MB / 295.4 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 83.86 kB / 443.2 MB, free: 6.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3137, allocations: 66.04 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008271/0.3219, allocations: 9.738 MB / 0.5068 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006137/0.3281, allocations: 3.639 MB / 0.5103 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.3292, allocations: 76.5 kB / 0.5104 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.3331, allocations: 2.61 MB / 0.513 GB, free: 20.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.3371, allocations: 1.808 MB / 0.5147 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3386, allocations: 0.6918 MB / 0.5154 GB, free: 18.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004801/0.3434, allocations: 3.579 MB / 0.5189 GB, free: 17.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.3464, allocations: 2.797 MB / 0.5216 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.3486, allocations: 1.487 MB / 0.5231 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/0.3515, allocations: 2.036 MB / 0.5251 GB, free: 15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007473/0.3522, allocations: 323 kB / 0.5254 GB, free: 15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.3543, allocations: 0.9445 MB / 0.5263 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.3561, allocations: 1.843 MB / 0.5281 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.3577, allocations: 1.553 MB / 0.5296 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.3649, allocations: 6.721 MB / 0.5362 GB, free: 9.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3649, allocations: 4 kB / 0.5362 GB, free: 9.488 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3649, allocations: 0 / 0.5362 GB, free: 9.488 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001605/0.3651, allocations: 0 / 0.5362 GB, free: 9.488 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01859/0.3837, allocations: 5.269 MB / 0.5413 GB, free: 6.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3837, allocations: 14.25 kB / 0.5413 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006648/0.3904, allocations: 1.918 MB / 0.5432 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/0.3949, allocations: 2.199 MB / 0.5454 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3951, allocations: 222.8 kB / 0.5456 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005819/0.3957, allocations: 311.3 kB / 0.5459 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.4142, allocations: 10.14 MB / 0.5558 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.4143, allocations: 39.7 kB / 0.5558 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.4148, allocations: 159.8 kB / 0.556 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003239/0.418, allocations: 1.794 MB / 0.5577 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.4371, allocations: 9.1 MB / 0.5666 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05254/0.4897, allocations: 34.78 MB / 0.6006 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/0.5035, allocations: 3.351 MB / 0.6038 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.5061, allocations: 1.605 MB / 0.6054 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007986/0.5069, allocations: 228.3 kB / 0.6056 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.507, allocations: 51.16 kB / 0.6057 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 5.25e-06/0.507, allocations: 4 kB / 0.6057 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04533/0.5523, allocations: 13.45 MB / 0.6188 GB, free: 7.133 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.5524, allocations: 141.2 kB / 0.6189 GB, free: 6.965 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005794/0.5582, allocations: 3.636 MB / 0.6225 GB, free: 3.32 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002534/0.5585, allocations: 49.7 kB / 0.6225 GB, free: 3.266 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/0.561, allocations: 3.105 MB / 0.6256 GB, free: 132 kB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.000728/0.5617, allocations: 0.5702 MB / 0.6261 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.5634, allocations: 1.158 MB / 0.6273 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5635, allocations: 308.9 kB / 0.6275 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/0.5665, allocations: 1.928 MB / 0.6294 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005759/0.5723, allocations: 5.498 MB / 0.6348 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.5825, allocations: 8.048 MB / 0.6427 GB, free: 11.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/0.5826, allocations: 36 kB / 0.6427 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01636/0.599, allocations: 7.898 MB / 0.6504 GB, free: 3.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/0.5991, allocations: 60.19 kB / 0.6505 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.5992, allocations: 132 kB / 0.6506 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/0.6018, allocations: 0.8983 MB / 0.6515 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004343/0.6061, allocations: 1.294 MB / 0.6527 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007219/0.6133, allocations: 5.017 MB / 0.6576 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/0.6177, allocations: 311.8 kB / 0.6579 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008565/0.6186, allocations: 360 kB / 0.6583 GB, free: 10.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (681): * Single equations (assignments): 677 * 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.003688/0.6223, allocations: 1.97 MB / 0.6602 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007621/0.623, allocations: 305.9 kB / 0.6605 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/0.6287, allocations: 2.743 MB / 0.6632 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.6288, allocations: 16 kB / 0.6632 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.6288, allocations: 4 kB / 0.6632 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6288, allocations: 3.984 kB / 0.6632 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.6413, allocations: 6.201 MB / 0.6692 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.6413, allocations: 4 kB / 0.6692 GB, free: 15.58 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.6426, allocations: 255.8 kB / 0.6695 GB, free: 15.33 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.645, allocations: 0.7138 MB / 0.6702 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.6451, allocations: 39.97 kB / 0.6702 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006803/0.6519, allocations: 4.594 MB / 0.6747 GB, free: 9.875 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.6519, allocations: 4 kB / 0.6747 GB, free: 9.871 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008693/0.6606, allocations: 5.084 MB / 0.6797 GB, free: 4.754 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.6617, allocations: 281.8 kB / 0.6799 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.6621, allocations: 27.94 kB / 0.68 GB, free: 4.449 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.6633, allocations: 79.89 kB / 0.6801 GB, free: 4.371 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.6635, allocations: 96.48 kB / 0.6801 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.6637, allocations: 47.97 kB / 0.6802 GB, free: 4.23 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003361/0.667, allocations: 2.097 MB / 0.6822 GB, free: 2.141 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.01e-07/0.667, allocations: 3.938 kB / 0.6822 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004586/0.6716, allocations: 0.871 MB / 0.6831 GB, free: 1.266 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004101/0.672, allocations: 156.7 kB / 0.6832 GB, free: 1.105 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.007868/0.6799, allocations: 4.448 MB / 0.6876 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6799, allocations: 0 / 0.6876 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.682, allocations: 1.289 MB / 0.6888 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.6845, allocations: 371.7 kB / 0.6892 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.7014, allocations: 8.439 MB / 0.6974 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2412/0.9426, allocations: 2.523 MB / 0.6999 GB, free: 165 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005185/0.9478, allocations: 1.739 MB / 0.7016 GB, free: 165 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008277/0.9486, allocations: 244.9 kB / 0.7018 GB, free: 165 MB / 0.5919 GB Notification: Performance of SimCode: time 1.663e-06/0.9486, allocations: 0 / 0.7018 GB, free: 165 MB / 0.5919 GB Notification: Performance of Templates: time 0.05979/1.008, allocations: 28.16 MB / 0.7293 GB, free: 159.6 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.087900790036656]