Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 43.94 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2437, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00333/0.2471, allocations: 2.014 MB / 434.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2482, allocations: 0.7051 MB / 435.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.2483, allocations: 4 kB / 435.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2484, allocations: 15.8 kB / 435.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.086e-05/0.2485, allocations: 43.62 kB / 435.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.2487, allocations: 59.75 kB / 435.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.2489, allocations: 143.3 kB / 435.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.2491, allocations: 25.3 kB / 435.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.2492, allocations: 55.78 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2493, allocations: 59.72 kB / 435.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.2493, allocations: 8 kB / 435.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.2494, allocations: 27.98 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.2494, allocations: 27.84 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.2495, allocations: 59.73 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.2497, allocations: 152.6 kB / 435.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2497, allocations: 4 kB / 435.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2497, allocations: 0 / 435.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2497, allocations: 4 kB / 435.8 MB, free: 3.52 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.0006543/0.2504, allocations: 361.7 kB / 436.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2504, allocations: 8.031 kB / 436.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.2506, allocations: 24.88 kB / 436.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.2509, allocations: 150.2 kB / 436.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2509, allocations: 8.375 kB / 436.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.2509, allocations: 12.38 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.2512, allocations: 113.5 kB / 436.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2512, allocations: 11.98 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2512, allocations: 0 / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2512, allocations: 4 kB / 436.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.2515, allocations: 91.94 kB / 436.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.2524, allocations: 466.4 kB / 437 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.2527, allocations: 102.5 kB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.2528, allocations: 44.88 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.2529, allocations: 3.938 kB / 437.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2529, allocations: 34.69 kB / 437.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2529, allocations: 0 / 437.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004483/0.2533, allocations: 157.4 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2534, allocations: 55.41 kB / 437.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2535, allocations: 128.3 kB / 437.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2535, allocations: 29.7 kB / 437.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.722e-05/0.2536, allocations: 120.2 kB / 437.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.2536, allocations: 35.69 kB / 437.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.2537, allocations: 29.7 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2538, allocations: 326.8 kB / 438 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.2539, allocations: 35.98 kB / 438.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.2541, allocations: 67.39 kB / 438.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.2543, allocations: 103.3 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2543, allocations: 0 / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003119/0.2546, allocations: 153.4 kB / 438.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2546, allocations: 4 kB / 438.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2547, allocations: 7.938 kB / 438.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2547, allocations: 4.031 kB / 438.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.2548, allocations: 35.97 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2548, allocations: 4 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.2549, allocations: 11.94 kB / 438.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2549, allocations: 8 kB / 438.5 MB, free: 0.6094 MB / 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.0001027/0.2551, allocations: 121.8 kB / 438.6 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.2551, allocations: 19.88 kB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.2551, allocations: 8.719 kB / 438.6 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2551, allocations: 4 kB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2551, allocations: 4 kB / 438.6 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2551, allocations: 0 / 438.6 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.2554, allocations: 188.6 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2554, allocations: 0 / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.2555, allocations: 27.98 kB / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2555, allocations: 0 / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2556, allocations: 0 / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2556, allocations: 0 / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2556, allocations: 0 / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.256, allocations: 267.7 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.2561, allocations: 15.98 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2561, allocations: 3.938 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2562, allocations: 12.03 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.2562, allocations: 7.984 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2562, allocations: 0 / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.947e-05/0.2563, allocations: 106.4 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2563, allocations: 4 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.2566, allocations: 27.95 kB / 439.3 MB, free: 15.74 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.0001027/0.2567, allocations: 99.19 kB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.2569, allocations: 91.88 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.257, allocations: 192 / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.2571, allocations: 47.91 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.2574, allocations: 22.97 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.2582, allocations: 0.4905 MB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.2586, allocations: 0.708 MB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.2586, allocations: 15.44 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2586, allocations: 0 / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Templates: time 0.003453/0.2621, allocations: 1.566 MB / 442.3 MB, free: 12.64 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.517559658037499]