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.001001/0.001001, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008386/0.0008388, allocations: 90.48 kB / 292.1 MB, free: 5.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1692/0.1692, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.074e-05, allocations: 4 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.09177, allocations: 63.25 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.4435, allocations: 110.5 MB / 0.6193 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4438, allocations: 82.95 kB / 0.6194 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1967/0.6404, allocations: 82.72 MB / 0.7001 GB, free: 4.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6405, allocations: 0 / 0.7001 GB, free: 4.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002187/0.6407, allocations: 80 kB / 0.7002 GB, free: 4.852 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.01587/0.6566, allocations: 4.387 MB / 0.7045 GB, free: 412 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6566, allocations: 8.031 kB / 0.7045 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.6669, allocations: 2.221 MB / 0.7067 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009727/0.6766, allocations: 3.759 MB / 0.7103 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.6769, allocations: 308 kB / 0.7106 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.6786, allocations: 403.8 kB / 0.711 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/0.701, allocations: 10.21 MB / 0.721 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002575/0.7013, allocations: 59.45 kB / 0.7211 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001669/0.703, allocations: 203.9 kB / 0.7213 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001579/0.7046, allocations: 0.9435 MB / 0.7222 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.7213, allocations: 8.493 MB / 0.7305 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2872/1.009, allocations: 45.88 MB / 0.7753 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00996/1.019, allocations: 3.364 MB / 0.7786 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/1.021, allocations: 1.627 MB / 0.7801 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006712/1.028, allocations: 4.438 MB / 0.7845 GB, free: 98.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/1.028, allocations: 52.58 kB / 0.7845 GB, free: 98.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=121): time 3.236e-06/1.028, allocations: 0 / 0.7845 GB, free: 98.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127): time 0.01825/1.046, allocations: 9.025 MB / 0.7933 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.046, allocations: 141 kB / 0.7935 GB, free: 96.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/1.05, allocations: 3.52 MB / 0.7969 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/1.05, allocations: 47.05 kB / 0.797 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/1.052, allocations: 3.03 MB / 0.7999 GB, free: 94.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/1.052, allocations: 0.5245 MB / 0.8004 GB, free: 94.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/1.052, allocations: 110.7 kB / 0.8005 GB, free: 94.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.053, allocations: 0.5372 MB / 0.8011 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/1.055, allocations: 1.731 MB / 0.8028 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/1.058, allocations: 5.307 MB / 0.8079 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/1.061, allocations: 3.012 MB / 0.8109 GB, free: 88.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.917e-05/1.061, allocations: 40.38 kB / 0.8109 GB, free: 88.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.009912/1.071, allocations: 7.495 MB / 0.8182 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/1.071, allocations: 61.75 kB / 0.8183 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.734e-05/1.071, allocations: 125.9 kB / 0.8184 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/1.073, allocations: 0.8999 MB / 0.8193 GB, free: 87.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/1.076, allocations: 1.282 MB / 0.8205 GB, free: 87.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/1.082, allocations: 4.766 MB / 0.8252 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/1.086, allocations: 306.1 kB / 0.8255 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006361/1.087, allocations: 352.9 kB / 0.8258 GB, free: 84.55 MB / 0.5261 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 () * 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.0006738/1.087, allocations: 0.541 MB / 0.8264 GB, free: 84.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/1.088, allocations: 329.2 kB / 0.8267 GB, free: 83.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/1.092, allocations: 2.472 MB / 0.8291 GB, free: 83.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/1.092, allocations: 16.47 kB / 0.8291 GB, free: 83.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.092, allocations: 3.25 kB / 0.8291 GB, free: 83.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.092, allocations: 3.047 kB / 0.8291 GB, free: 83.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009671/1.102, allocations: 6.408 MB / 0.8354 GB, free: 80.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.102, allocations: 3.938 kB / 0.8354 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000964/1.103, allocations: 198.2 kB / 0.8356 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/1.104, allocations: 0.702 MB / 0.8362 GB, free: 80.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.104, allocations: 20.08 kB / 0.8363 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/1.109, allocations: 4.335 MB / 0.8405 GB, free: 78.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.109, allocations: 8.016 kB / 0.8405 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005569/1.114, allocations: 4.555 MB / 0.845 GB, free: 76.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/1.115, allocations: 394.9 kB / 0.8453 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/1.116, allocations: 21.53 kB / 0.8453 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.117, allocations: 85.12 kB / 0.8454 GB, free: 76.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/1.117, allocations: 71.59 kB / 0.8455 GB, free: 76.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/1.117, allocations: 31.62 kB / 0.8455 GB, free: 76.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003106/1.12, allocations: 2.453 MB / 0.8479 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/1.12, allocations: 0 / 0.8479 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004055/1.124, allocations: 0.9004 MB / 0.8488 GB, free: 75.11 MB / 0.5261 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 (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.0003927/1.125, allocations: 167.2 kB / 0.849 GB, free: 74.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005685/1.13, allocations: 4.222 MB / 0.8531 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.13, allocations: 4.062 kB / 0.8531 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.132, allocations: 1.166 MB / 0.8542 GB, free: 72.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/1.134, allocations: 396.4 kB / 0.8546 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009972/1.144, allocations: 6.714 MB / 0.8612 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/1.146, allocations: 3.187 MB / 0.8643 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003628/1.15, allocations: 1.729 MB / 0.866 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004575/1.15, allocations: 218.3 kB / 0.8662 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/1.15, allocations: 8 kB / 0.8662 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of Templates: time 0.04303/1.193, allocations: 31.15 MB / 0.8966 GB, free: 38.44 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/jenkins/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