Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009835/0.0009835, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00341/0.00341, allocations: 157.2 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8325/0.8325, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.017e-05, allocations: 3.266 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001991/0.002011, allocations: 1.938 MB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007334/0.002744, allocations: 0.6428 MB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.00282, allocations: 7.938 kB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.002925, allocations: 19.84 kB / 328.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.00299, allocations: 43.58 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.003204, allocations: 59.72 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.003342, allocations: 151.2 kB / 328.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003452, allocations: 29.06 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.003539, allocations: 83.8 kB / 328.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.003602, allocations: 43.89 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.003618, allocations: 8 kB / 328.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.602e-05/0.003674, allocations: 20 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.003696, allocations: 31.89 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.003736, allocations: 43.84 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.003925, allocations: 155.5 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003927, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003928, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.003932, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004485/0.004381, allocations: 369.7 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.004414, allocations: 15.98 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.004528, allocations: 24.88 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.004688, allocations: 138.2 kB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.004699, allocations: 12.31 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.004724, allocations: 8.375 kB / 329.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.004913, allocations: 114.2 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.004924, allocations: 4.188 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.004937, allocations: 7.938 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004942, allocations: 7.938 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.00509, allocations: 87.94 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.005593, allocations: 419.2 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.00581, allocations: 102.5 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.005873, allocations: 44.88 kB / 330.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.005885, allocations: 0 / 330.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.005901, allocations: 34.5 kB / 330.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.005902, allocations: 4 kB / 330.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000257/0.006159, allocations: 149.6 kB / 330.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.006184, allocations: 51.41 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.006256, allocations: 145 kB / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.006266, allocations: 25.7 kB / 330.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.006317, allocations: 116.2 kB / 330.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.006337, allocations: 35.69 kB / 330.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.006372, allocations: 29.7 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.006447, allocations: 318.8 kB / 331.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.006515, allocations: 39.91 kB / 331.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.006589, allocations: 67.41 kB / 331.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.006949, allocations: 111.3 kB / 331.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006951, allocations: 0 / 331.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001699/0.00712, allocations: 153.4 kB / 331.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.007131, allocations: 8.094 kB / 331.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.007137, allocations: 4 kB / 331.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.007149, allocations: 3.938 kB / 331.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.007227, allocations: 31.92 kB / 331.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.007233, allocations: 4 kB / 331.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.007274, allocations: 7.984 kB / 331.7 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.007281, allocations: 4 kB / 331.7 MB, free: 9.277 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.007342, allocations: 121.8 kB / 331.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.00736, allocations: 15.91 kB / 331.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.007386, allocations: 20.77 kB / 331.8 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007388, allocations: 3.938 kB / 331.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007392, allocations: 4 kB / 331.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007395, allocations: 0 / 331.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.007507, allocations: 141.3 kB / 332 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007508, allocations: 0 / 332 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.00759, allocations: 39.89 kB / 332 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.007591, allocations: 0 / 332 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.007601, allocations: 4 kB / 332 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007602, allocations: 384 / 332 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.007604, allocations: 7.938 kB / 332 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.007858, allocations: 255.3 kB / 332.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.007869, allocations: 11.91 kB / 332.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.007882, allocations: 4.031 kB / 332.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.007932, allocations: 15.94 kB / 332.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.007965, allocations: 11.92 kB / 332.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.007968, allocations: 0 / 332.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.008009, allocations: 103.3 kB / 332.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008009, allocations: 4 kB / 332.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.008168, allocations: 31.94 kB / 332.4 MB, free: 8.441 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.746e-05/0.008235, allocations: 95.23 kB / 332.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.008399, allocations: 91.83 kB / 332.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.0084, allocations: 0 / 332.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.008459, allocations: 39.97 kB / 332.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.008672, allocations: 24.16 kB / 332.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.009155, allocations: 403.1 kB / 333.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.674e-05/0.009211, allocations: 101 kB / 333.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.009246, allocations: 16.5 kB / 333.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009247, allocations: 0 / 333.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of Templates: time 0.002005/0.01125, allocations: 1.63 MB / 334.8 MB, free: 6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9069357998669147]