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.001765/0.001765, allocations: 116.9 kB / 19.13 MB, free: 3.922 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.002152/0.002152, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.47/1.47, allocations: 227.4 MB / 252.3 MB, free: 68 kB / 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.2351/0.2351, allocations: 46.18 MB / 351.8 MB, free: 14.27 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_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 0.002192/0.002192, allocations: 81.38 kB / 490.9 MB, free: 27.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1155, allocations: 62.46 MB / 0.5404 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01549/0.131, allocations: 13.03 MB / 0.5531 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009197/0.1402, allocations: 4.286 MB / 0.5573 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.1424, allocations: 83.75 kB / 0.5574 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007401/0.1499, allocations: 3.703 MB / 0.561 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005616/0.1556, allocations: 1.964 MB / 0.5629 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.1579, allocations: 0.8227 MB / 0.5637 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006822/0.1647, allocations: 4.216 MB / 0.5678 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006671/0.1714, allocations: 4.852 MB / 0.5725 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.175, allocations: 1.842 MB / 0.5743 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004194/0.1793, allocations: 2.461 MB / 0.5767 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.1806, allocations: 416 kB / 0.5771 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.184, allocations: 1.131 MB / 0.5782 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00298/0.187, allocations: 2.19 MB / 0.5804 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004568/0.1916, allocations: 2.591 MB / 0.5829 GB, free: 8.422 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.2039, allocations: 8.116 MB / 0.5908 GB, free: 280 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.2039, allocations: 0 / 0.5908 GB, free: 280 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2039, allocations: 0 / 0.5908 GB, free: 280 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002978/0.2042, allocations: 4 kB / 0.5908 GB, free: 276 kB / 446.1 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.02249/0.2267, allocations: 6.347 MB / 0.597 GB, free: 9.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2268, allocations: 8.031 kB / 0.5971 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007752/0.2346, allocations: 1.994 MB / 0.599 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006088/0.2407, allocations: 2.696 MB / 0.6016 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.241, allocations: 291.5 kB / 0.6019 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.2426, allocations: 391.8 kB / 0.6023 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2635/0.5061, allocations: 12.21 MB / 0.6142 GB, free: 51.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/0.5064, allocations: 45.06 kB / 0.6142 GB, free: 51.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000704/0.5071, allocations: 179.6 kB / 0.6144 GB, free: 51.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004536/0.5116, allocations: 2.193 MB / 0.6166 GB, free: 50.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02292/0.5346, allocations: 11.2 MB / 0.6275 GB, free: 47.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04812/0.5827, allocations: 45.97 MB / 0.6724 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01627/0.599, allocations: 5.485 MB / 0.6778 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004605/0.6037, allocations: 3.437 MB / 0.6811 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.6048, allocations: 0.6885 MB / 0.6818 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.6049, allocations: 59.8 kB / 0.6818 GB, free: 12.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=203): time 4.759e-06/0.6049, allocations: 4 kB / 0.6818 GB, free: 12.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=234): time 0.08056/0.6855, allocations: 27.56 MB / 0.7088 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6856, allocations: 158.5 kB / 0.7089 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006759/0.6924, allocations: 4.407 MB / 0.7132 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007244/0.6932, allocations: 61.7 kB / 0.7133 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00301/0.6962, allocations: 3.513 MB / 0.7167 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/0.6977, allocations: 0.9224 MB / 0.7176 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002485/0.7002, allocations: 1.427 MB / 0.719 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7003, allocations: 301.1 kB / 0.7193 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005524/0.7058, allocations: 3.28 MB / 0.7225 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009884/0.7158, allocations: 7.086 MB / 0.7294 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/0.7311, allocations: 11.17 MB / 0.7403 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.7313, allocations: 40 kB / 0.7403 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02212/0.7534, allocations: 11.32 MB / 0.7514 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.7535, allocations: 60 kB / 0.7515 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/0.7537, allocations: 136 kB / 0.7516 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/0.7569, allocations: 1.114 MB / 0.7527 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006513/0.7634, allocations: 1.688 MB / 0.7543 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009358/0.7728, allocations: 6.347 MB / 0.7605 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/0.7786, allocations: 407.6 kB / 0.7609 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/0.7801, allocations: 439.8 kB / 0.7613 GB, free: 7.082 MB / 0.545 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.005226/0.7853, allocations: 2.306 MB / 0.7636 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/0.7867, allocations: 413.2 kB / 0.764 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.7997, allocations: 6.191 MB / 0.77 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/0.7998, allocations: 28 kB / 0.77 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.7998, allocations: 4 kB / 0.7701 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-05/0.7999, allocations: 15.95 kB / 0.7701 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/0.8257, allocations: 12.89 MB / 0.7827 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/0.8258, allocations: 0 / 0.7827 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003398/0.8292, allocations: 0.5421 MB / 0.7832 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/0.8323, allocations: 0.9568 MB / 0.7841 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007272/0.8331, allocations: 87.88 kB / 0.7842 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008753/0.8419, allocations: 6.095 MB / 0.7902 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.8419, allocations: 7.938 kB / 0.7902 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/0.8602, allocations: 10.5 MB / 0.8004 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/0.8628, allocations: 0.908 MB / 0.8013 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/0.8641, allocations: 44 kB / 0.8013 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/0.8671, allocations: 167.8 kB / 0.8015 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000768/0.8679, allocations: 185.6 kB / 0.8017 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000495/0.8684, allocations: 103.9 kB / 0.8018 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005798/0.8742, allocations: 2.766 MB / 0.8045 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8742, allocations: 4 kB / 0.8045 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00712/0.8814, allocations: 1.184 MB / 0.8056 GB, free: 9.285 MB / 0.5919 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.001005/0.8824, allocations: 174.8 kB / 0.8058 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01396/0.8964, allocations: 7.747 MB / 0.8134 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.8964, allocations: 8.062 kB / 0.8134 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005209/0.9016, allocations: 3.022 MB / 0.8163 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/0.906, allocations: 498.9 kB / 0.8168 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/0.9311, allocations: 12.5 MB / 0.829 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00643/0.9376, allocations: 3.622 MB / 0.8325 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/0.9399, allocations: 463.1 kB / 0.833 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of SimCode: time 9.01e-07/0.94, allocations: 0 / 0.833 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.3641/1.304, allocations: 93.7 MB / 0.9245 GB, free: 152.3 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.203232394065708]