Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001819/0.001819, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002118/0.002118, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.528/1.528, allocations: 230.3 MB / 258 MB, free: 8.195 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2315/0.2315, allocations: 46.93 MB / 361.4 MB, free: 4.395 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 87.84 kB / 0.4972 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.361, allocations: 66.04 MB / 0.5617 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01328/0.3742, allocations: 11.14 MB / 0.5725 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008302/0.3825, allocations: 3.863 MB / 0.5763 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.3841, allocations: 75.62 kB / 0.5764 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005364/0.3895, allocations: 2.726 MB / 0.579 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.3945, allocations: 1.802 MB / 0.5808 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.3962, allocations: 0.694 MB / 0.5815 GB, free: 188 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005422/0.4017, allocations: 3.582 MB / 0.585 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.405, allocations: 2.597 MB / 0.5875 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.4073, allocations: 1.491 MB / 0.589 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.4105, allocations: 2.157 MB / 0.5911 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007457/0.4113, allocations: 320 kB / 0.5914 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.4134, allocations: 1.077 MB / 0.5924 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.4153, allocations: 1.842 MB / 0.5942 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002466/0.4178, allocations: 2.093 MB / 0.5963 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008587/0.4264, allocations: 6.692 MB / 0.6028 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4264, allocations: 4 kB / 0.6028 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4264, allocations: 4 kB / 0.6028 GB, free: 10.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.4266, allocations: 4 kB / 0.6028 GB, free: 10.2 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.01765/0.4442, allocations: 5.117 MB / 0.6078 GB, free: 5.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4443, allocations: 8.031 kB / 0.6078 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006632/0.4509, allocations: 1.878 MB / 0.6097 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005637/0.4565, allocations: 2.181 MB / 0.6118 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.4568, allocations: 225.8 kB / 0.612 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000824/0.4576, allocations: 299.8 kB / 0.6123 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.4785, allocations: 10.04 MB / 0.6221 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003021/0.4788, allocations: 43.62 kB / 0.6221 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001388/0.4802, allocations: 143.9 kB / 0.6223 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003606/0.4838, allocations: 1.802 MB / 0.624 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/0.5039, allocations: 9.038 MB / 0.6329 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05089/0.5548, allocations: 37 MB / 0.669 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.5679, allocations: 3.163 MB / 0.6721 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.5706, allocations: 1.612 MB / 0.6737 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008425/0.5715, allocations: 236.2 kB / 0.6739 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.521e-05/0.5715, allocations: 51.16 kB / 0.6739 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 7.985e-06/0.5715, allocations: 7.984 kB / 0.6739 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.0454/0.6169, allocations: 12.94 MB / 0.6866 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.617, allocations: 141.2 kB / 0.6867 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008081/0.6251, allocations: 3.964 MB / 0.6906 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005042/0.6256, allocations: 49.7 kB / 0.6906 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003015/0.6286, allocations: 3.096 MB / 0.6937 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009217/0.6296, allocations: 0.5661 MB / 0.6942 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002403/0.632, allocations: 1.147 MB / 0.6953 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6321, allocations: 305.1 kB / 0.6956 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/0.6355, allocations: 1.931 MB / 0.6975 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00705/0.6425, allocations: 5.502 MB / 0.7029 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.6536, allocations: 8.058 MB / 0.7107 GB, free: 6.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/0.6537, allocations: 36 kB / 0.7108 GB, free: 5.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01581/0.6695, allocations: 7.922 MB / 0.7185 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.6696, allocations: 64.22 kB / 0.7186 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/0.6698, allocations: 128 kB / 0.7187 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/0.6724, allocations: 0.9168 MB / 0.7196 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004218/0.6766, allocations: 1.283 MB / 0.7208 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007458/0.6841, allocations: 5.087 MB / 0.7258 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004241/0.6883, allocations: 299.8 kB / 0.7261 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/0.6894, allocations: 356.3 kB / 0.7264 GB, free: 5.828 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.004309/0.6937, allocations: 1.967 MB / 0.7284 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008774/0.6945, allocations: 353.7 kB / 0.7287 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/0.7008, allocations: 2.778 MB / 0.7314 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/0.7008, allocations: 19.94 kB / 0.7314 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.7008, allocations: 4 kB / 0.7314 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.7008, allocations: 3.984 kB / 0.7314 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3365/1.037, allocations: 7.131 MB / 0.7384 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.037, allocations: 1.219 kB / 0.7384 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.038, allocations: 247.9 kB / 0.7386 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/1.04, allocations: 0.71 MB / 0.7393 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/1.04, allocations: 37.56 kB / 0.7394 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004887/1.045, allocations: 4.656 MB / 0.7439 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.045, allocations: 3.719 kB / 0.7439 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006697/1.052, allocations: 5.131 MB / 0.7489 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.053, allocations: 331 kB / 0.7492 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003315/1.053, allocations: 25.86 kB / 0.7493 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.054, allocations: 79.11 kB / 0.7493 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/1.055, allocations: 100.7 kB / 0.7494 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.055, allocations: 44.98 kB / 0.7495 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003754/1.059, allocations: 2.482 MB / 0.7519 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.059, allocations: 0 / 0.7519 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004175/1.063, allocations: 0.8701 MB / 0.7528 GB, free: 144.8 MB / 0.5606 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.0003645/1.063, allocations: 153.5 kB / 0.7529 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005892/1.069, allocations: 4.465 MB / 0.7573 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.069, allocations: 4 kB / 0.7573 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.071, allocations: 1.279 MB / 0.7585 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.073, allocations: 423.5 kB / 0.7589 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.088, allocations: 8.533 MB / 0.7673 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003527/1.091, allocations: 3.061 MB / 0.7702 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003388/1.095, allocations: 1.782 MB / 0.772 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/1.095, allocations: 251.3 kB / 0.7722 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.754e-06/1.095, allocations: 4 kB / 0.7722 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06341/1.159, allocations: 35.98 MB / 0.8074 GB, free: 89.79 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.415989171713591]