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.001367/0.001367, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001521/0.001521, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.543/1.543, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.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.2278/0.2278, allocations: 46.95 MB / 360.8 MB, free: 3.902 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.002395/0.002395, allocations: 79.86 kB / 0.4966 GB, free: 7.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3411, allocations: 66.09 MB / 0.5612 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01288/0.354, allocations: 9.719 MB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009359/0.3633, allocations: 3.641 MB / 0.5742 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.365, allocations: 71.69 kB / 0.5743 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005141/0.3702, allocations: 2.62 MB / 0.5769 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004083/0.3743, allocations: 1.798 MB / 0.5786 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.3758, allocations: 0.694 MB / 0.5793 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00468/0.3805, allocations: 3.582 MB / 0.5828 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003418/0.3839, allocations: 2.795 MB / 0.5855 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.3861, allocations: 1.495 MB / 0.587 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.3891, allocations: 2.024 MB / 0.589 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006406/0.3897, allocations: 324 kB / 0.5893 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.3916, allocations: 0.9479 MB / 0.5902 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001873/0.3935, allocations: 1.842 MB / 0.592 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.3954, allocations: 1.549 MB / 0.5935 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008514/0.4039, allocations: 6.724 MB / 0.6001 GB, free: 11.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.404, allocations: 4 kB / 0.6001 GB, free: 11.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.404, allocations: 0 / 0.6001 GB, free: 11.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000153/0.4041, allocations: 0 / 0.6001 GB, free: 11.9 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.01699/0.4211, allocations: 5.117 MB / 0.6051 GB, free: 6.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.4211, allocations: 12.03 kB / 0.6051 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00679/0.4279, allocations: 1.882 MB / 0.6069 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/0.4337, allocations: 2.193 MB / 0.6091 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.4339, allocations: 229.7 kB / 0.6093 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008452/0.4348, allocations: 299.8 kB / 0.6096 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.4542, allocations: 10.06 MB / 0.6194 GB, free: 7.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.4543, allocations: 47.58 kB / 0.6194 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004338/0.4548, allocations: 143.9 kB / 0.6196 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003332/0.4581, allocations: 1.802 MB / 0.6213 GB, free: 5.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/0.4775, allocations: 9.018 MB / 0.6301 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0479/0.5254, allocations: 34.64 MB / 0.664 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.5383, allocations: 3.152 MB / 0.667 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00231/0.5406, allocations: 1.61 MB / 0.6686 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007364/0.5414, allocations: 232.3 kB / 0.6688 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.5414, allocations: 55.22 kB / 0.6689 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 5.46e-06/0.5414, allocations: 3.984 kB / 0.6689 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04139/0.5828, allocations: 12.95 MB / 0.6815 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.5829, allocations: 145.1 kB / 0.6817 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005083/0.588, allocations: 3.632 MB / 0.6852 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.5881, allocations: 45.7 kB / 0.6853 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002437/0.5906, allocations: 3.113 MB / 0.6883 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006767/0.5913, allocations: 0.5661 MB / 0.6889 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.5928, allocations: 1.151 MB / 0.69 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5929, allocations: 304.9 kB / 0.6903 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.596, allocations: 1.935 MB / 0.6922 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006015/0.602, allocations: 5.502 MB / 0.6975 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.6123, allocations: 8.058 MB / 0.7054 GB, free: 10.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.248e-05/0.6124, allocations: 36 kB / 0.7054 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01471/0.6271, allocations: 7.891 MB / 0.7132 GB, free: 2.457 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.6272, allocations: 66.56 kB / 0.7132 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/0.6274, allocations: 124 kB / 0.7133 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.63, allocations: 0.9022 MB / 0.7142 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/0.6342, allocations: 1.29 MB / 0.7155 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007658/0.6418, allocations: 5.008 MB / 0.7204 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/0.6459, allocations: 303.6 kB / 0.7207 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009981/0.6469, allocations: 360 kB / 0.721 GB, free: 10.32 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.004356/0.6512, allocations: 1.97 MB / 0.7229 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008347/0.6521, allocations: 305.9 kB / 0.7232 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005922/0.658, allocations: 2.731 MB / 0.7259 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/0.658, allocations: 16 kB / 0.7259 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.658, allocations: 7.938 kB / 0.7259 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.6581, allocations: 7.969 kB / 0.7259 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3111/0.9691, allocations: 6.164 MB / 0.7319 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.9692, allocations: 1.156 kB / 0.7319 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.9705, allocations: 239.8 kB / 0.7322 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/0.9729, allocations: 0.7199 MB / 0.7329 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.973, allocations: 32.59 kB / 0.7329 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/0.9778, allocations: 4.595 MB / 0.7374 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9778, allocations: 6.688 kB / 0.7374 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006357/0.9842, allocations: 5.103 MB / 0.7424 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/0.9849, allocations: 269.9 kB / 0.7426 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.9852, allocations: 19.75 kB / 0.7427 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.9863, allocations: 77.97 kB / 0.7427 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.9865, allocations: 99.08 kB / 0.7428 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.9866, allocations: 60.41 kB / 0.7429 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002624/0.9893, allocations: 2.089 MB / 0.7449 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9893, allocations: 0 / 0.7449 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004437/0.9937, allocations: 0.8723 MB / 0.7458 GB, free: 146.7 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.0003718/0.9941, allocations: 152.9 kB / 0.7459 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005706/0.9998, allocations: 4.454 MB / 0.7503 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9998, allocations: 3.562 kB / 0.7503 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.001, allocations: 1.284 MB / 0.7515 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/1.004, allocations: 365.8 kB / 0.7519 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.015, allocations: 8.455 MB / 0.7601 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/1.018, allocations: 2.518 MB / 0.7626 GB, free: 133 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003379/1.021, allocations: 1.737 MB / 0.7643 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/1.022, allocations: 231.3 kB / 0.7645 GB, free: 131 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.022, allocations: 4 kB / 0.7645 GB, free: 131 MB / 0.5606 GB Notification: Performance of Templates: time 0.05279/1.075, allocations: 32.22 MB / 0.796 GB, free: 99.24 MB / 0.5606 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/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_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: 7.228793645277619]