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.001782/0.001782, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002178/0.002178, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.513/1.513, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2294/0.2294, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.002357/0.002357, allocations: 75.88 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3566, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0152/0.3718, allocations: 11.13 MB / 0.5721 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008562/0.3804, allocations: 3.863 MB / 0.5758 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.3823, allocations: 67.81 kB / 0.5759 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005579/0.3878, allocations: 2.722 MB / 0.5786 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005342/0.3932, allocations: 1.79 MB / 0.5803 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.3951, allocations: 0.6939 MB / 0.581 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006019/0.4011, allocations: 3.59 MB / 0.5845 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.405, allocations: 2.594 MB / 0.587 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.408, allocations: 1.476 MB / 0.5885 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00377/0.4117, allocations: 2.146 MB / 0.5906 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009204/0.4127, allocations: 320 kB / 0.5909 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.4151, allocations: 1.077 MB / 0.5919 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.4171, allocations: 1.85 MB / 0.5937 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.42, allocations: 2.093 MB / 0.5958 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009719/0.4297, allocations: 6.688 MB / 0.6023 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4297, allocations: 0 / 0.6023 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4297, allocations: 0 / 0.6023 GB, free: 10.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002251/0.4299, allocations: 4 kB / 0.6023 GB, free: 10.74 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.02004/0.45, allocations: 5.2 MB / 0.6074 GB, free: 5.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.45, allocations: 12.03 kB / 0.6074 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007258/0.4573, allocations: 1.878 MB / 0.6092 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005907/0.4632, allocations: 2.257 MB / 0.6114 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.4634, allocations: 225.8 kB / 0.6116 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/0.4645, allocations: 303.8 kB / 0.6119 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02106/0.4856, allocations: 10.04 MB / 0.6217 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.4857, allocations: 43.64 kB / 0.6218 GB, free: 6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005051/0.4862, allocations: 139.9 kB / 0.6219 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/0.4898, allocations: 1.806 MB / 0.6237 GB, free: 4.051 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.5121, allocations: 9.038 MB / 0.6325 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05657/0.5686, allocations: 37.14 MB / 0.6688 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.5828, allocations: 3.614 MB / 0.6723 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/0.5853, allocations: 1.606 MB / 0.6739 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.5864, allocations: 0.6823 MB / 0.6745 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.5865, allocations: 43.12 kB / 0.6746 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 4.178e-06/0.5865, allocations: 4 kB / 0.6746 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04348/0.6299, allocations: 13.08 MB / 0.6874 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.6301, allocations: 145.1 kB / 0.6875 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006164/0.6362, allocations: 3.964 MB / 0.6914 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002967/0.6365, allocations: 45.61 kB / 0.6914 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002612/0.6391, allocations: 3.089 MB / 0.6944 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008574/0.64, allocations: 0.5739 MB / 0.695 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.6416, allocations: 1.151 MB / 0.6961 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6418, allocations: 305.1 kB / 0.6964 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.6449, allocations: 1.931 MB / 0.6983 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006318/0.6512, allocations: 5.501 MB / 0.7037 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.6622, allocations: 8.06 MB / 0.7115 GB, free: 4.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/0.6623, allocations: 36 kB / 0.7116 GB, free: 4.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01637/0.6787, allocations: 7.935 MB / 0.7193 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.964e-05/0.6788, allocations: 60 kB / 0.7194 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/0.6789, allocations: 124 kB / 0.7195 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.6817, allocations: 0.8991 MB / 0.7204 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/0.6862, allocations: 1.29 MB / 0.7216 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007855/0.6941, allocations: 5.187 MB / 0.7267 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/0.6988, allocations: 299.8 kB / 0.727 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009398/0.6997, allocations: 360 kB / 0.7273 GB, free: 4.648 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.004148/0.7039, allocations: 1.97 MB / 0.7293 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008387/0.7047, allocations: 349.6 kB / 0.7296 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3266/1.031, allocations: 2.771 MB / 0.7323 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.003e-05/1.031, allocations: 16.61 kB / 0.7323 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/1.031, allocations: 6.406 kB / 0.7323 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.031, allocations: 7.047 kB / 0.7323 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.045, allocations: 7.163 MB / 0.7393 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.045, allocations: 0 / 0.7393 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.046, allocations: 245.5 kB / 0.7396 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/1.048, allocations: 0.715 MB / 0.7403 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/1.048, allocations: 43.28 kB / 0.7403 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/1.053, allocations: 4.755 MB / 0.7449 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.053, allocations: 3.938 kB / 0.7449 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006483/1.059, allocations: 5.137 MB / 0.75 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008936/1.06, allocations: 403.8 kB / 0.7503 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/1.061, allocations: 19.62 kB / 0.7504 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.062, allocations: 86.14 kB / 0.7504 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/1.062, allocations: 86.75 kB / 0.7505 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.062, allocations: 47.31 kB / 0.7506 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003112/1.065, allocations: 2.483 MB / 0.753 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.065, allocations: 0 / 0.753 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004079/1.069, allocations: 0.8788 MB / 0.7539 GB, free: 144.4 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.0003425/1.07, allocations: 149 kB / 0.754 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005425/1.075, allocations: 4.464 MB / 0.7584 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.075, allocations: 4 kB / 0.7584 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/1.076, allocations: 1.286 MB / 0.7596 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.079, allocations: 425.5 kB / 0.76 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.09, allocations: 8.518 MB / 0.7683 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/1.092, allocations: 3.069 MB / 0.7713 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003337/1.096, allocations: 1.782 MB / 0.7731 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/1.096, allocations: 255.3 kB / 0.7733 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.793e-06/1.096, allocations: 0 / 0.7733 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05394/1.15, allocations: 33.66 MB / 0.8062 GB, free: 91.14 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.3746691881679]