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.0018/0.0018, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.00221/0.00221, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.494/1.494, allocations: 230.5 MB / 258.1 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001944/0.001944, allocations: 63.89 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.235, allocations: 53.41 MB / 432.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003858/0.2389, allocations: 1.929 MB / 434.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2402, allocations: 0.6507 MB / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.2403, allocations: 0 / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.2404, allocations: 23.8 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2405, allocations: 35.64 kB / 435 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.2408, allocations: 55.8 kB / 435.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.241, allocations: 147.3 kB / 435.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2411, allocations: 24.94 kB / 435.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.2412, allocations: 59.84 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.2413, allocations: 51.66 kB / 435.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2414, allocations: 8 kB / 435.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.2415, allocations: 31.98 kB / 435.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.2415, allocations: 23.91 kB / 435.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.2415, allocations: 51.8 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2418, allocations: 142.4 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2418, allocations: 3.984 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2418, allocations: 0 / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.2418, allocations: 0 / 435.6 MB, free: 3.27 MB / 334.1 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.0006758/0.2425, allocations: 369.7 kB / 436 MB, free: 2.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2425, allocations: 11.98 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.2427, allocations: 28.88 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.243, allocations: 150.2 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.243, allocations: 4.375 kB / 436.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.243, allocations: 12.38 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2434, allocations: 118.2 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2434, allocations: 4 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2434, allocations: 4 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2434, allocations: 3.984 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.2437, allocations: 95.86 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/0.2445, allocations: 427 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.2449, allocations: 94.61 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.245, allocations: 40.83 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.245, allocations: 4 kB / 436.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.245, allocations: 38.62 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.245, allocations: 0 / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000463/0.2455, allocations: 153.5 kB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.2455, allocations: 59.34 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2457, allocations: 125.8 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.2457, allocations: 29.7 kB / 437.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.2458, allocations: 116.2 kB / 437.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2458, allocations: 31.73 kB / 437.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.2459, allocations: 25.72 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.246, allocations: 322.8 kB / 437.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2461, allocations: 39.97 kB / 437.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2463, allocations: 70.53 kB / 437.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.2465, allocations: 107.3 kB / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2465, allocations: 0 / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000341/0.2469, allocations: 153.4 kB / 438.2 MB, free: 496 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2469, allocations: 12.09 kB / 438.2 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2469, allocations: 7.922 kB / 438.2 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2469, allocations: 4 kB / 438.2 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2471, allocations: 27.98 kB / 438.2 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2471, allocations: 0 / 438.2 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.2472, allocations: 19.92 kB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.2472, allocations: 4 kB / 438.3 MB, free: 420 kB / 334.1 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 0.0001061/0.2473, allocations: 125.7 kB / 438.4 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.2473, allocations: 15.84 kB / 438.4 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.2474, allocations: 16.72 kB / 438.4 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2474, allocations: 0 / 438.4 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2474, allocations: 4.359 kB / 438.4 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2474, allocations: 0 / 438.4 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.2476, allocations: 149.2 kB / 438.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2476, allocations: 0 / 438.6 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2478, allocations: 31.92 kB / 438.6 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2478, allocations: 3.938 kB / 438.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2478, allocations: 8 kB / 438.6 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2478, allocations: 0 / 438.6 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2478, allocations: 7.984 kB / 438.6 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.2483, allocations: 251.4 kB / 438.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.2483, allocations: 15.91 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2483, allocations: 7.938 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.2484, allocations: 8.031 kB / 438.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.2485, allocations: 7.984 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2485, allocations: 4 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.2486, allocations: 101.9 kB / 439 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2486, allocations: 4 kB / 439 MB, free: 15.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.2488, allocations: 24 kB / 439 MB, free: 15.58 MB / 350.1 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 0.0001052/0.2489, allocations: 103.2 kB / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.2492, allocations: 91.81 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2492, allocations: 0 / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.2494, allocations: 43.91 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2497, allocations: 28.25 kB / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.2505, allocations: 494.4 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.167e-05/0.2506, allocations: 89.19 kB / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.2506, allocations: 15.44 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2506, allocations: 4 kB / 439.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of Templates: time 0.003529/0.2542, allocations: 1.631 MB / 441.5 MB, free: 13.05 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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: 7.063696404919028]