Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009759/0.0009758, allocations: 176.3 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007419/0.0007419, allocations: 86.06 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3089/0.3089, allocations: 43.57 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 16 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 58.83 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.312/0.416, allocations: 108.7 MB / 0.5861 GB, free: 9.109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4163, allocations: 87.95 kB / 0.5862 GB, free: 9.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2117/0.628, allocations: 83.98 MB / 0.6682 GB, free: 4.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.628, allocations: 0 / 0.6682 GB, free: 4.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002924/0.6283, allocations: 84 kB / 0.6683 GB, free: 4.438 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.2324/0.8607, allocations: 4.617 MB / 0.6728 GB, free: 88.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8608, allocations: 9.062 kB / 0.6728 GB, free: 88.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.873, allocations: 2.177 MB / 0.6749 GB, free: 88.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009566/0.8826, allocations: 3.476 MB / 0.6783 GB, free: 88.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.883, allocations: 321.8 kB / 0.6786 GB, free: 88.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.8845, allocations: 425.7 kB / 0.679 GB, free: 88.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.9071, allocations: 10.74 MB / 0.6895 GB, free: 85.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/0.9073, allocations: 57.83 kB / 0.6896 GB, free: 85.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005469/0.9079, allocations: 212.9 kB / 0.6898 GB, free: 85.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001146/0.909, allocations: 1.012 MB / 0.6908 GB, free: 85.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.9238, allocations: 9.007 MB / 0.6995 GB, free: 85.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04569/0.9695, allocations: 47.48 MB / 0.7459 GB, free: 52.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009363/0.979, allocations: 3.62 MB / 0.7495 GB, free: 51.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.9812, allocations: 1.83 MB / 0.7512 GB, free: 50.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00714/0.9884, allocations: 4.728 MB / 0.7559 GB, free: 48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.9884, allocations: 47.44 kB / 0.7559 GB, free: 47.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 4.458e-06/0.9884, allocations: 0 / 0.7559 GB, free: 47.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02372/1.012, allocations: 12.13 MB / 0.7677 GB, free: 42.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/1.012, allocations: 144.1 kB / 0.7679 GB, free: 42.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004502/1.017, allocations: 4.084 MB / 0.7719 GB, free: 41.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000211/1.017, allocations: 48.89 kB / 0.7719 GB, free: 41.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.018, allocations: 3.149 MB / 0.775 GB, free: 38.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/1.019, allocations: 0.5937 MB / 0.7756 GB, free: 38.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/1.019, allocations: 118.2 kB / 0.7757 GB, free: 38.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000218/1.019, allocations: 0.5503 MB / 0.7762 GB, free: 37.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/1.021, allocations: 1.955 MB / 0.7781 GB, free: 37.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003368/1.025, allocations: 5.663 MB / 0.7837 GB, free: 31.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006237/1.031, allocations: 8.272 MB / 0.7917 GB, free: 24.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.877e-05/1.031, allocations: 39.62 kB / 0.7918 GB, free: 24.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01064/1.042, allocations: 8.075 MB / 0.7997 GB, free: 21.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/1.042, allocations: 65.25 kB / 0.7997 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.585e-05/1.042, allocations: 129.2 kB / 0.7998 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/1.044, allocations: 0.8944 MB / 0.8007 GB, free: 21.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003365/1.047, allocations: 1.354 MB / 0.802 GB, free: 21.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/1.052, allocations: 4.786 MB / 0.8067 GB, free: 18.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/1.055, allocations: 325.9 kB / 0.807 GB, free: 18.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/1.056, allocations: 363.4 kB / 0.8074 GB, free: 18.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * Number of states: 0 () * Number of discrete variables: 36 (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 (714): * Single equations (assignments): 710 * 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.002479/1.058, allocations: 2.085 MB / 0.8094 GB, free: 17.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/1.059, allocations: 342.7 kB / 0.8097 GB, free: 17.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/1.063, allocations: 2.898 MB / 0.8126 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/1.063, allocations: 16 kB / 0.8126 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.063, allocations: 11.94 kB / 0.8126 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.063, allocations: 3.609 kB / 0.8126 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/1.073, allocations: 7.16 MB / 0.8196 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/1.073, allocations: 7.219 kB / 0.8196 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.074, allocations: 251 kB / 0.8198 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/1.076, allocations: 0.6978 MB / 0.8205 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/1.076, allocations: 38.47 kB / 0.8206 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/1.081, allocations: 4.339 MB / 0.8248 GB, free: 4.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.081, allocations: 4.031 kB / 0.8248 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/1.087, allocations: 5.162 MB / 0.8298 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.088, allocations: 0.6143 MB / 0.8304 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003529/1.089, allocations: 24 kB / 0.8305 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.09, allocations: 97.23 kB / 0.8306 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/1.09, allocations: 84.27 kB / 0.8306 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.09, allocations: 40 kB / 0.8307 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004732/1.095, allocations: 2.548 MB / 0.8332 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.01e-07/1.095, allocations: 4 kB / 0.8332 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005007/1.1, allocations: 0.9509 MB / 0.8341 GB, free: 12.45 MB / 0.4948 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 (117): * Single equations (assignments): 113 * 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.0003791/1.1, allocations: 163.2 kB / 0.8342 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00718/1.107, allocations: 4.713 MB / 0.8388 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.107, allocations: 4.25 kB / 0.8389 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/1.109, allocations: 1.383 MB / 0.8402 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/1.112, allocations: 412.3 kB / 0.8406 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.129, allocations: 10.57 MB / 0.8509 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/1.133, allocations: 3.242 MB / 0.8541 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004611/1.137, allocations: 1.831 MB / 0.8559 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/1.138, allocations: 231.4 kB / 0.8561 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/1.138, allocations: 0 / 0.8561 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of Templates: time 0.2754/1.413, allocations: 32.93 MB / 0.8883 GB, free: 106.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches