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.001611/0.001611, allocations: 117 kB / 19.13 MB, free: 3.914 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.002127/0.002128, allocations: 206.6 kB / 22.08 MB, free: 0.9688 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.522/1.522, allocations: 227.4 MB / 252.3 MB, free: 252 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.2704/0.2704, allocations: 46.17 MB / 351.8 MB, free: 14.3 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.00228/0.00228, allocations: 85.22 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1195, allocations: 62.44 MB / 0.5403 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01345/0.1329, allocations: 11.05 MB / 0.5511 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008074/0.1411, allocations: 3.828 MB / 0.5549 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.1431, allocations: 63.81 kB / 0.5549 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005623/0.1488, allocations: 2.683 MB / 0.5576 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.1537, allocations: 1.75 MB / 0.5593 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1555, allocations: 0.694 MB / 0.5599 GB, free: 88 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005381/0.1609, allocations: 3.585 MB / 0.5634 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004626/0.1655, allocations: 3.687 MB / 0.567 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.1682, allocations: 1.484 MB / 0.5685 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.1713, allocations: 1.99 MB / 0.5704 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008022/0.1721, allocations: 324 kB / 0.5707 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.1742, allocations: 1.034 MB / 0.5718 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.1761, allocations: 1.781 MB / 0.5735 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0025/0.1787, allocations: 2.105 MB / 0.5755 GB, free: 0 / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008325/0.187, allocations: 6.688 MB / 0.5821 GB, free: 9.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.187, allocations: 0 / 0.5821 GB, free: 9.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1871, allocations: 0 / 0.5821 GB, free: 9.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002027/0.1873, allocations: 0 / 0.5821 GB, free: 9.281 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.01855/0.2058, allocations: 5.2 MB / 0.5872 GB, free: 4.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2059, allocations: 8.031 kB / 0.5872 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006958/0.2128, allocations: 1.878 MB / 0.589 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/0.2175, allocations: 2.257 MB / 0.5912 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.2177, allocations: 233.7 kB / 0.5914 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007779/0.2185, allocations: 295.8 kB / 0.5917 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.2388, allocations: 10.04 MB / 0.6015 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.239, allocations: 47.64 kB / 0.6016 GB, free: 4.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006158/0.2396, allocations: 139.9 kB / 0.6017 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003443/0.2431, allocations: 1.806 MB / 0.6035 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2671/0.5102, allocations: 9.027 MB / 0.6123 GB, free: 52.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03961/0.5499, allocations: 37.12 MB / 0.6485 GB, free: 26.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.5619, allocations: 3.732 MB / 0.6522 GB, free: 24.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.5638, allocations: 1.715 MB / 0.6538 GB, free: 23.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007256/0.5645, allocations: 0.6772 MB / 0.6545 GB, free: 22.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.5645, allocations: 46.88 kB / 0.6545 GB, free: 22.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.637e-06/0.5646, allocations: 0 / 0.6545 GB, free: 22.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.03739/0.602, allocations: 13.09 MB / 0.6673 GB, free: 10.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.602, allocations: 149 kB / 0.6675 GB, free: 10.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/0.6059, allocations: 3.963 MB / 0.6713 GB, free: 6.402 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.6061, allocations: 45.7 kB / 0.6714 GB, free: 6.352 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.6073, allocations: 3.092 MB / 0.6744 GB, free: 3.344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.6077, allocations: 0.5722 MB / 0.675 GB, free: 2.781 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.6087, allocations: 1.143 MB / 0.6761 GB, free: 1.629 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.6088, allocations: 305.1 kB / 0.6764 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/0.6111, allocations: 1.931 MB / 0.6783 GB, free: 15.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005737/0.6169, allocations: 5.506 MB / 0.6836 GB, free: 8.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009639/0.6266, allocations: 8.059 MB / 0.6915 GB, free: 14.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.651e-05/0.6267, allocations: 36 kB / 0.6915 GB, free: 14.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01468/0.6414, allocations: 7.938 MB / 0.6993 GB, free: 6.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/0.6415, allocations: 64.16 kB / 0.6993 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.6416, allocations: 128 kB / 0.6995 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/0.6442, allocations: 0.9074 MB / 0.7004 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004084/0.6483, allocations: 1.283 MB / 0.7016 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0073/0.6556, allocations: 5.19 MB / 0.7067 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/0.6594, allocations: 299.7 kB / 0.707 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006393/0.6601, allocations: 360 kB / 0.7073 GB, free: 13.91 MB / 0.4981 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.002964/0.6631, allocations: 1.97 MB / 0.7092 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006245/0.6637, allocations: 357.4 kB / 0.7096 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005647/0.6694, allocations: 2.782 MB / 0.7123 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/0.6694, allocations: 16 kB / 0.7123 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.6694, allocations: 4 kB / 0.7123 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.6695, allocations: 7.969 kB / 0.7123 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.6828, allocations: 7.176 MB / 0.7193 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.6829, allocations: 384 / 0.7193 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.6842, allocations: 247.6 kB / 0.7196 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/0.6864, allocations: 0.7187 MB / 0.7203 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.6865, allocations: 31.97 kB / 0.7203 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006451/0.693, allocations: 4.759 MB / 0.7249 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.693, allocations: 0 / 0.7249 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008259/0.7013, allocations: 5.152 MB / 0.73 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000916/0.7022, allocations: 402.6 kB / 0.7304 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/0.7026, allocations: 20 kB / 0.7304 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.7037, allocations: 83.89 kB / 0.7305 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.704, allocations: 96.41 kB / 0.7305 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.7042, allocations: 47.97 kB / 0.7306 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003756/0.7079, allocations: 2.477 MB / 0.733 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7079, allocations: 0 / 0.733 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004347/0.7123, allocations: 0.8826 MB / 0.7339 GB, free: 2.469 MB / 0.5137 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.000416/0.7127, allocations: 154.9 kB / 0.734 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007345/0.7201, allocations: 4.603 MB / 0.7385 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7201, allocations: 0 / 0.7385 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.7222, allocations: 1.365 MB / 0.7398 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.7246, allocations: 420.8 kB / 0.7402 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.7394, allocations: 8.881 MB / 0.7489 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/0.7429, allocations: 3.058 MB / 0.7519 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/0.7439, allocations: 299.3 kB / 0.7522 GB, free: 15.64 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.7439, allocations: 0 / 0.7522 GB, free: 15.64 MB / 0.545 GB Notification: Performance of Templates: time 0.1007/0.8446, allocations: 70.93 MB / 0.8215 GB, free: 8.75 MB / 0.6075 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.111685825977474]