Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001783/0.001783, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 227.2 MB / 245 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009012/0.0009013, allocations: 111.1 kB / 297.3 MB, free: 6.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2978/0.2978, allocations: 45.23 MB / 394.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003087, allocations: 8 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3126, allocations: 63.24 MB / 0.5192 GB, free: 43.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4423, allocations: 111.3 MB / 0.6279 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4426, allocations: 91.94 kB / 0.628 GB, free: 10.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4794/0.9221, allocations: 96.16 MB / 0.7219 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9221, allocations: 0 / 0.7219 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002701/0.9224, allocations: 97.16 kB / 0.722 GB, free: 95.62 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.0229/0.9453, allocations: 5.716 MB / 0.7276 GB, free: 93.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.9454, allocations: 8.469 kB / 0.7276 GB, free: 93.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.9565, allocations: 2.326 MB / 0.7299 GB, free: 93.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.9711, allocations: 4.25 MB / 0.734 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005041/0.9717, allocations: 378.3 kB / 0.7344 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/0.9745, allocations: 0.4937 MB / 0.7349 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02778/1.002, allocations: 12.53 MB / 0.7471 GB, free: 89.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/1.003, allocations: 64.16 kB / 0.7472 GB, free: 89.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008894/1.003, allocations: 239.1 kB / 0.7474 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/1.005, allocations: 1.158 MB / 0.7485 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/1.025, allocations: 10.86 MB / 0.7591 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0515/1.076, allocations: 54.24 MB / 0.8121 GB, free: 47.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/1.089, allocations: 5.121 MB / 0.8171 GB, free: 45.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/1.09, allocations: 1.012 MB / 0.8181 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.091, allocations: 58.59 kB / 0.8181 GB, free: 44.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=203): time 4.949e-06/1.091, allocations: 0 / 0.8181 GB, free: 44.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=234): time 0.05317/1.144, allocations: 25.01 MB / 0.8426 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.144, allocations: 150.5 kB / 0.8427 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004543/1.148, allocations: 3.942 MB / 0.8465 GB, free: 20.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003701/1.149, allocations: 57.7 kB / 0.8466 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/1.15, allocations: 3.434 MB / 0.85 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006425/1.151, allocations: 0.8898 MB / 0.8508 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/1.151, allocations: 128 kB / 0.8509 GB, free: 16.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002372/1.151, allocations: 0.5867 MB / 0.8515 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.154, allocations: 2.882 MB / 0.8543 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/1.159, allocations: 6.692 MB / 0.8609 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/1.165, allocations: 4.299 MB / 0.8651 GB, free: 68 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.151e-05/1.165, allocations: 43.94 kB / 0.8651 GB, free: 24 kB / 0.4948 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.0174/1.182, allocations: 10.44 MB / 0.8753 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.182, allocations: 60 kB / 0.8754 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/1.182, allocations: 136 kB / 0.8755 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/1.185, allocations: 1.126 MB / 0.8766 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005979/1.191, allocations: 1.634 MB / 0.8782 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00787/1.199, allocations: 6.04 MB / 0.8841 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.204, allocations: 403.6 kB / 0.8845 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.206, allocations: 419 kB / 0.8849 GB, free: 11.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (817): * Single equations (assignments): 813 * 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.006322/1.212, allocations: 2.331 MB / 0.8872 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.214, allocations: 398.8 kB / 0.8875 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/1.225, allocations: 5.305 MB / 0.8927 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/1.225, allocations: 31.98 kB / 0.8927 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/1.225, allocations: 4 kB / 0.8927 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/1.225, allocations: 7.969 kB / 0.8928 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2926/1.518, allocations: 11.67 MB / 0.9042 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/1.518, allocations: 5.906 kB / 0.9042 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/1.52, allocations: 481.5 kB / 0.9046 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/1.522, allocations: 0.9331 MB / 0.9055 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/1.522, allocations: 44.31 kB / 0.9056 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005902/1.528, allocations: 5.757 MB / 0.9112 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.528, allocations: 4.594 kB / 0.9112 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.54, allocations: 9.394 MB / 0.9204 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/1.542, allocations: 0.8609 MB / 0.9212 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000708/1.543, allocations: 43.14 kB / 0.9213 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.545, allocations: 176.3 kB / 0.9214 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/1.545, allocations: 146.3 kB / 0.9216 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.546, allocations: 64.19 kB / 0.9216 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005628/1.551, allocations: 2.756 MB / 0.9243 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.551, allocations: 3.609 kB / 0.9243 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00769/1.559, allocations: 1.213 MB / 0.9255 GB, free: 111.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0006041/1.56, allocations: 194 kB / 0.9257 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.572, allocations: 6.898 MB / 0.9324 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.572, allocations: 1.031 kB / 0.9324 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004298/1.576, allocations: 2.604 MB / 0.935 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/1.58, allocations: 457.6 kB / 0.9354 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.601, allocations: 13.47 MB / 0.9486 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003533/1.604, allocations: 3.771 MB / 0.9522 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004962/1.609, allocations: 2.201 MB / 0.9544 GB, free: 100 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.61, allocations: 300.6 kB / 0.9547 GB, free: 99.99 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/1.61, allocations: 0 / 0.9547 GB, free: 99.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.06932/1.68, allocations: 45.97 MB / 0.9996 GB, free: 84.32 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches