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.001529/0.001529, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000947/0.000947, allocations: 86.64 kB / 261.7 MB, free: 1.605 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.1964/0.1964, allocations: 43.48 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.545e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.4908, allocations: 107.8 MB / 0.5712 GB, free: 3.992 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4911, allocations: 86.02 kB / 0.5713 GB, free: 3.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2004/0.6915, allocations: 83.36 MB / 0.6527 GB, free: 8.586 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6915, allocations: 0 / 0.6527 GB, free: 8.586 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001588/0.6917, allocations: 91.92 kB / 0.6527 GB, free: 8.496 MB / 458.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.01379/0.7055, allocations: 4.496 MB / 0.6571 GB, free: 3.938 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.7056, allocations: 8.031 kB / 0.6571 GB, free: 3.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.7157, allocations: 2.221 MB / 0.6593 GB, free: 1.699 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.7267, allocations: 4.516 MB / 0.6637 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.7269, allocations: 136 kB / 0.6639 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.7282, allocations: 247.9 kB / 0.6641 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01095/0.7391, allocations: 6.42 MB / 0.6704 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.7542, allocations: 9.63 MB / 0.6798 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/0.7543, allocations: 63.45 kB / 0.6798 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004681/0.7548, allocations: 28 kB / 0.6798 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0014/0.7562, allocations: 1.01 MB / 0.6808 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3041/1.06, allocations: 45.52 MB / 0.7253 GB, free: 97.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/1.065, allocations: 3.226 MB / 0.7284 GB, free: 96.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/1.067, allocations: 1.762 MB / 0.7302 GB, free: 96.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007974/1.075, allocations: 4.617 MB / 0.7347 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/1.075, allocations: 47.55 kB / 0.7347 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=142): time 3.677e-06/1.075, allocations: 0 / 0.7347 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.01733/1.092, allocations: 11.07 MB / 0.7455 GB, free: 92.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.092, allocations: 148.2 kB / 0.7457 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/1.096, allocations: 3.08 MB / 0.7487 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/1.096, allocations: 25.7 kB / 0.7487 GB, free: 91.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.097, allocations: 3.22 MB / 0.7518 GB, free: 90.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000456/1.098, allocations: 0.5787 MB / 0.7524 GB, free: 89.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/1.098, allocations: 2.281 kB / 0.7524 GB, free: 89.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002333/1.098, allocations: 0.5629 MB / 0.753 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/1.1, allocations: 1.826 MB / 0.7547 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003538/1.104, allocations: 5.65 MB / 0.7603 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/1.107, allocations: 3.183 MB / 0.7634 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.945e-05/1.107, allocations: 42.09 kB / 0.7634 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.009644/1.117, allocations: 7.294 MB / 0.7705 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/1.117, allocations: 64.06 kB / 0.7706 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-05/1.117, allocations: 138.4 kB / 0.7707 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/1.119, allocations: 0.9167 MB / 0.7716 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/1.123, allocations: 1.414 MB / 0.773 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/1.127, allocations: 4.611 MB / 0.7775 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/1.131, allocations: 217.8 kB / 0.7777 GB, free: 79.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006073/1.132, allocations: 377.2 kB / 0.7781 GB, free: 79.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 740 * 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.0007762/1.133, allocations: 449.5 kB / 0.7785 GB, free: 79.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/1.133, allocations: 317.7 kB / 0.7788 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/1.138, allocations: 2.716 MB / 0.7815 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.138, allocations: 15.09 kB / 0.7815 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.138, allocations: 3.688 kB / 0.7815 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.138, allocations: 17.14 kB / 0.7815 GB, free: 78.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.15, allocations: 6.224 MB / 0.7876 GB, free: 75.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/1.15, allocations: 4.281 kB / 0.7876 GB, free: 75.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.151, allocations: 249.6 kB / 0.7878 GB, free: 75.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/1.153, allocations: 0.6989 MB / 0.7885 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/1.153, allocations: 10.39 kB / 0.7885 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004392/1.158, allocations: 4.181 MB / 0.7926 GB, free: 73.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.158, allocations: 11.02 kB / 0.7926 GB, free: 73.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006485/1.164, allocations: 4.995 MB / 0.7975 GB, free: 71.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.165, allocations: 0.5682 MB / 0.798 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/1.166, allocations: 0 / 0.798 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.167, allocations: 73.38 kB / 0.7981 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.167, allocations: 88.7 kB / 0.7982 GB, free: 71.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.983e-05/1.167, allocations: 47.95 kB / 0.7982 GB, free: 71.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002742/1.17, allocations: 2.043 MB / 0.8002 GB, free: 70.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/1.17, allocations: 1.969 kB / 0.8002 GB, free: 70.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004383/1.174, allocations: 0.818 MB / 0.801 GB, free: 70.31 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 () * 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.00034/1.175, allocations: 138.7 kB / 0.8012 GB, free: 70.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005523/1.18, allocations: 4.39 MB / 0.8054 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.18, allocations: 1.125 kB / 0.8054 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.182, allocations: 1.315 MB / 0.8067 GB, free: 65.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.183, allocations: 312.5 kB / 0.807 GB, free: 65.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.194, allocations: 7.125 MB / 0.814 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/1.196, allocations: 3.328 MB / 0.8172 GB, free: 56.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00406/1.2, allocations: 1.862 MB / 0.8191 GB, free: 55.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/1.201, allocations: 226.5 kB / 0.8193 GB, free: 54.91 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/1.201, allocations: 0 / 0.8193 GB, free: 54.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.04442/1.245, allocations: 28.12 MB / 0.8467 GB, free: 33.4 MB / 0.4948 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/jenkins/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