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.001301/0.001301, 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.001405/0.001405, 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.493/1.493, allocations: 230.2 MB / 257.8 MB, free: 8.527 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.2457/0.2457, allocations: 46.9 MB / 361.1 MB, free: 4.664 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.002453/0.002453, allocations: 75.88 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3517, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01384/0.3655, allocations: 11.12 MB / 0.5721 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007941/0.3734, allocations: 3.859 MB / 0.5758 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.3746, allocations: 63.81 kB / 0.5759 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00502/0.3796, allocations: 2.729 MB / 0.5786 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.3837, allocations: 1.786 MB / 0.5803 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.3851, allocations: 0.7017 MB / 0.581 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004545/0.3897, allocations: 3.594 MB / 0.5845 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003116/0.3928, allocations: 2.586 MB / 0.587 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.3949, allocations: 1.476 MB / 0.5885 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.3981, allocations: 2.15 MB / 0.5906 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006526/0.3987, allocations: 320 kB / 0.5909 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.4007, allocations: 1.077 MB / 0.5919 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.4024, allocations: 1.846 MB / 0.5937 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002509/0.4049, allocations: 2.089 MB / 0.5958 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009392/0.4143, allocations: 6.7 MB / 0.6023 GB, free: 10.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4143, allocations: 4 kB / 0.6023 GB, free: 10.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4143, allocations: 0 / 0.6023 GB, free: 10.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001891/0.4145, allocations: 0 / 0.6023 GB, free: 10.71 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.0176/0.4321, allocations: 5.196 MB / 0.6074 GB, free: 5.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4322, allocations: 8.031 kB / 0.6074 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006954/0.4391, allocations: 1.878 MB / 0.6092 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005434/0.4445, allocations: 2.261 MB / 0.6114 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.4447, allocations: 225.8 kB / 0.6117 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007691/0.4455, allocations: 299.8 kB / 0.6119 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.4644, allocations: 10.04 MB / 0.6217 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.4645, allocations: 47.64 kB / 0.6218 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.4649, allocations: 135.9 kB / 0.6219 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.4684, allocations: 1.81 MB / 0.6237 GB, free: 4.027 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.4872, allocations: 9.03 MB / 0.6325 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05053/0.5377, allocations: 37.15 MB / 0.6688 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/0.5519, allocations: 3.61 MB / 0.6723 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.5543, allocations: 1.602 MB / 0.6739 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.5554, allocations: 0.6785 MB / 0.6745 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.5554, allocations: 51.06 kB / 0.6746 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 3.697e-06/0.5554, allocations: 0 / 0.6746 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04617/0.6016, allocations: 13.09 MB / 0.6874 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.6017, allocations: 141.2 kB / 0.6875 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005625/0.6074, allocations: 3.964 MB / 0.6914 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.6076, allocations: 45.7 kB / 0.6914 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002637/0.6102, allocations: 3.092 MB / 0.6944 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006238/0.6108, allocations: 0.5661 MB / 0.695 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/0.6123, allocations: 1.151 MB / 0.6961 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6125, allocations: 305.1 kB / 0.6964 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/0.6155, allocations: 1.931 MB / 0.6983 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006205/0.6217, allocations: 5.509 MB / 0.7037 GB, free: 14.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/0.6323, allocations: 8.057 MB / 0.7115 GB, free: 4.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.561e-05/0.6323, allocations: 36 kB / 0.7116 GB, free: 4.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01439/0.6467, allocations: 7.928 MB / 0.7193 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.131e-05/0.6468, allocations: 68.05 kB / 0.7194 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/0.6469, allocations: 124 kB / 0.7195 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/0.6494, allocations: 0.902 MB / 0.7204 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/0.6531, allocations: 1.283 MB / 0.7216 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007438/0.6606, allocations: 5.192 MB / 0.7267 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/0.6643, allocations: 295.8 kB / 0.727 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005183/0.6648, allocations: 360 kB / 0.7273 GB, free: 4.625 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.002989/0.6678, allocations: 1.97 MB / 0.7293 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/0.6684, allocations: 345.7 kB / 0.7296 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2606/0.929, allocations: 2.769 MB / 0.7323 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/0.929, allocations: 18.69 kB / 0.7323 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.9291, allocations: 5.594 kB / 0.7323 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/0.9291, allocations: 6.984 kB / 0.7323 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.9425, allocations: 7.168 MB / 0.7393 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.9425, allocations: 0 / 0.7393 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.9437, allocations: 248.6 kB / 0.7396 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.9456, allocations: 0.7084 MB / 0.7402 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.9457, allocations: 39.03 kB / 0.7403 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005211/0.9509, allocations: 4.766 MB / 0.7449 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9509, allocations: 0 / 0.7449 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.9574, allocations: 5.134 MB / 0.75 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000854/0.9583, allocations: 409.4 kB / 0.7503 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/0.9586, allocations: 19.66 kB / 0.7504 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.9598, allocations: 81.64 kB / 0.7504 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.9601, allocations: 95.28 kB / 0.7505 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.9602, allocations: 48.2 kB / 0.7506 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00324/0.9634, allocations: 2.479 MB / 0.753 GB, free: 146 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9634, allocations: 0 / 0.753 GB, free: 146 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004243/0.9677, allocations: 0.8778 MB / 0.7539 GB, free: 145.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.0004146/0.9681, allocations: 149.9 kB / 0.754 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005619/0.9737, allocations: 4.464 MB / 0.7584 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9737, allocations: 3.281 kB / 0.7584 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.9752, allocations: 1.282 MB / 0.7596 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.9776, allocations: 425.1 kB / 0.76 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.9881, allocations: 8.526 MB / 0.7683 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/0.9904, allocations: 3.057 MB / 0.7713 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003052/0.9935, allocations: 1.786 MB / 0.7731 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.994, allocations: 251.3 kB / 0.7733 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.994, allocations: 0 / 0.7733 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05424/1.048, allocations: 33.66 MB / 0.8062 GB, free: 92.17 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 gbode -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.139704952947795]