Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.001633/0.001633, 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.001846/0.001846, allocations: 210.5 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.466/1.466, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.83 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2395, allocations: 53.41 MB / 432.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003693/0.2432, allocations: 1.955 MB / 434.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2444, allocations: 0.6351 MB / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.2445, allocations: 3.938 kB / 435 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.2447, allocations: 19.78 kB / 435 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.2448, allocations: 47.64 kB / 435 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.245, allocations: 47.86 kB / 435.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.2452, allocations: 147.3 kB / 435.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2454, allocations: 24.95 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.2455, allocations: 55.78 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2456, allocations: 55.7 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.2456, allocations: 12 kB / 435.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.116e-05/0.2457, allocations: 27.98 kB / 435.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.2457, allocations: 27.92 kB / 435.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.2458, allocations: 51.73 kB / 435.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.2461, allocations: 150.4 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2461, allocations: 0 / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2461, allocations: 4 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2461, allocations: 3.938 kB / 435.6 MB, free: 3.281 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.0007065/0.2468, allocations: 369.7 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2468, allocations: 15.98 kB / 436 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.247, allocations: 32.77 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.2473, allocations: 138.4 kB / 436.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2473, allocations: 8.312 kB / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2474, allocations: 12.38 kB / 436.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.2477, allocations: 122.2 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2477, allocations: 7.953 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2477, allocations: 4 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2477, allocations: 11.98 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.2481, allocations: 87.92 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.2489, allocations: 407.1 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.2493, allocations: 118.5 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.2494, allocations: 48.88 kB / 437 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.2494, allocations: 0 / 437 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2495, allocations: 34.56 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.2495, allocations: 0 / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001106/0.2506, allocations: 405.6 kB / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.2506, allocations: 55.41 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2508, allocations: 140.9 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.2508, allocations: 33.7 kB / 437.6 MB, free: 1.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.2509, allocations: 112.2 kB / 437.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.2509, allocations: 51.53 kB / 437.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.251, allocations: 29.72 kB / 437.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2512, allocations: 322.8 kB / 438.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.2513, allocations: 51.88 kB / 438.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.2515, allocations: 79.33 kB / 438.3 MB, free: 440 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.2518, allocations: 126.9 kB / 438.4 MB, free: 304 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2518, allocations: 0 / 438.4 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003796/0.2522, allocations: 165.5 kB / 438.6 MB, free: 132 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2522, allocations: 4 kB / 438.6 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2522, allocations: 3.938 kB / 438.6 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2522, allocations: 8.062 kB / 438.6 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.2524, allocations: 35.97 kB / 438.6 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.2524, allocations: 11.88 kB / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.2525, allocations: 8 kB / 438.6 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2525, allocations: 4 kB / 438.6 MB, free: 56 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 (18): * Single equations (assignments): 18 * 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.0001254/0.2527, allocations: 117.8 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.2527, allocations: 19.89 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.2528, allocations: 20.72 kB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2528, allocations: 4 kB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2528, allocations: 4 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2528, allocations: 3.938 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007741/0.2536, allocations: 395.8 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2536, allocations: 4 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.2538, allocations: 35.97 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2538, allocations: 4 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2538, allocations: 0 / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2538, allocations: 4.062 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2538, allocations: 4 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.2544, allocations: 313 kB / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.2544, allocations: 11.95 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.2544, allocations: 4 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.2545, allocations: 12.03 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.2546, allocations: 7.984 kB / 439.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2546, allocations: 8 kB / 439.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.479e-05/0.2547, allocations: 102 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2547, allocations: 0 / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.255, allocations: 28 kB / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (13): * Single equations (assignments): 13 * 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.0001352/0.2551, allocations: 103.2 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.2555, allocations: 111.9 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2555, allocations: 0 / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.2556, allocations: 60.03 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.256, allocations: 34.56 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.2569, allocations: 0.5006 MB / 440.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.257, allocations: 102.3 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.2571, allocations: 19.38 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2571, allocations: 0 / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Templates: time 0.004415/0.2615, allocations: 1.746 MB / 442.4 MB, free: 12.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.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.104512518271804]