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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 197.4 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009252/0.0009254, allocations: 96.98 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3284/0.3284, allocations: 44.83 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3266, allocations: 62.96 MB / 0.5184 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4594, allocations: 110.5 MB / 0.6264 GB, free: 10.71 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4597, allocations: 91.94 kB / 0.6265 GB, free: 10.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.442/0.9017, allocations: 81.2 MB / 0.7058 GB, free: 100.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.9018, allocations: 0 / 0.7058 GB, free: 100.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003907/0.9022, allocations: 75.53 kB / 0.7058 GB, free: 100.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01912/0.9213, allocations: 4.503 MB / 0.7102 GB, free: 99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.9214, allocations: 8.594 kB / 0.7102 GB, free: 99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.9314, allocations: 2.177 MB / 0.7124 GB, free: 98.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008812/0.9403, allocations: 3.136 MB / 0.7154 GB, free: 98.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004894/0.9408, allocations: 301.9 kB / 0.7157 GB, free: 98.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/0.943, allocations: 404.4 kB / 0.7161 GB, free: 98.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/0.9673, allocations: 10.27 MB / 0.7261 GB, free: 93.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/0.9675, allocations: 57.19 kB / 0.7262 GB, free: 93.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008465/0.9684, allocations: 203.1 kB / 0.7264 GB, free: 93.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001115/0.9695, allocations: 0.9454 MB / 0.7273 GB, free: 93.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.9839, allocations: 8.587 MB / 0.7357 GB, free: 90.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04017/1.024, allocations: 45.85 MB / 0.7805 GB, free: 55.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008381/1.033, allocations: 3.397 MB / 0.7838 GB, free: 54.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/1.035, allocations: 1.665 MB / 0.7854 GB, free: 53.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006316/1.041, allocations: 4.414 MB / 0.7897 GB, free: 50.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.041, allocations: 50.56 kB / 0.7898 GB, free: 49.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 4.649e-06/1.041, allocations: 0 / 0.7898 GB, free: 49.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.02187/1.063, allocations: 11.07 MB / 0.8006 GB, free: 39.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.063, allocations: 145.1 kB / 0.8007 GB, free: 39.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/1.068, allocations: 3.984 MB / 0.8046 GB, free: 35.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/1.068, allocations: 41.7 kB / 0.8046 GB, free: 35.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.07, allocations: 3.035 MB / 0.8076 GB, free: 32.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004955/1.07, allocations: 0.5185 MB / 0.8081 GB, free: 31.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/1.07, allocations: 112 kB / 0.8082 GB, free: 31.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002338/1.07, allocations: 0.5335 MB / 0.8087 GB, free: 30.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/1.073, allocations: 1.787 MB / 0.8105 GB, free: 29.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003592/1.076, allocations: 5.377 MB / 0.8157 GB, free: 22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006615/1.083, allocations: 7.78 MB / 0.8233 GB, free: 12.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-05/1.083, allocations: 36 kB / 0.8234 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01253/1.096, allocations: 7.612 MB / 0.8308 GB, free: 4.766 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/1.096, allocations: 60 kB / 0.8309 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/1.096, allocations: 132.1 kB / 0.831 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/1.098, allocations: 0.8913 MB / 0.8319 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/1.102, allocations: 1.279 MB / 0.8331 GB, free: 2.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00537/1.107, allocations: 4.771 MB / 0.8378 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/1.111, allocations: 303.8 kB / 0.8381 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009292/1.112, allocations: 351.4 kB / 0.8384 GB, free: 12.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (676): * Single equations (assignments): 672 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004298/1.117, allocations: 1.99 MB / 0.8403 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008177/1.118, allocations: 331.6 kB / 0.8407 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004863/1.122, allocations: 2.516 MB / 0.8431 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/1.122, allocations: 16 kB / 0.8431 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.123, allocations: 7.938 kB / 0.8431 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.123, allocations: 3.984 kB / 0.8431 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/1.135, allocations: 6.457 MB / 0.8494 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.135, allocations: 0 / 0.8494 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.136, allocations: 199.7 kB / 0.8496 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/1.138, allocations: 0.7079 MB / 0.8503 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/1.138, allocations: 20 kB / 0.8503 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005493/1.144, allocations: 4.344 MB / 0.8546 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.144, allocations: 0 / 0.8546 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006819/1.151, allocations: 4.568 MB / 0.859 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.152, allocations: 400.5 kB / 0.8594 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/1.152, allocations: 24 kB / 0.8594 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.153, allocations: 87.83 kB / 0.8595 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/1.154, allocations: 67.84 kB / 0.8596 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.234e-05/1.154, allocations: 36.45 kB / 0.8596 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004018/1.158, allocations: 2.486 MB / 0.8621 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/1.158, allocations: 0 / 0.8621 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004297/1.162, allocations: 0.8985 MB / 0.8629 GB, free: 3.508 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (95): * Single equations (assignments): 91 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003984/1.162, allocations: 162.5 kB / 0.8631 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00659/1.169, allocations: 4.303 MB / 0.8673 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.169, allocations: 320 / 0.8673 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/1.171, allocations: 1.205 MB / 0.8685 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/1.174, allocations: 402.5 kB / 0.8689 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.19, allocations: 9.809 MB / 0.8784 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004037/1.194, allocations: 3.101 MB / 0.8815 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.3329/1.527, allocations: 1.742 MB / 0.8832 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.528, allocations: 216.9 kB / 0.8834 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.874e-06/1.528, allocations: 3.906 kB / 0.8834 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.06965/1.598, allocations: 31.2 MB / 0.9138 GB, free: 129.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches