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.0009182/0.0009182, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.0009656/0.0009656, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.907/0.907, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.322e-06/1.322e-06, allocations: 3.938 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.449e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002272/0.002286, allocations: 2.032 MB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009245/0.003211, allocations: 0.6817 MB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.003308, allocations: 0 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.003462, allocations: 19.8 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.913e-05/0.003551, allocations: 39.64 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.003814, allocations: 59.72 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.00401, allocations: 151.2 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004126, allocations: 25.28 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.004243, allocations: 79.75 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.00433, allocations: 47.88 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.004353, allocations: 8 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-05/0.004434, allocations: 27.98 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.00446, allocations: 27.91 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.004511, allocations: 39.92 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.004736, allocations: 115.6 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004738, allocations: 0 / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004739, allocations: 0 / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.004744, allocations: 0 / 276.3 MB, free: 14.2 MB / 266.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.0005793/0.005323, allocations: 468 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.005375, allocations: 12.03 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.005575, allocations: 40.81 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.005752, allocations: 144.4 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.005765, allocations: 8.375 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.005792, allocations: 8.375 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.005988, allocations: 103.5 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.006001, allocations: 4.172 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.006016, allocations: 11.94 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.006025, allocations: 0 / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.006128, allocations: 45.88 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.006769, allocations: 474.3 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.00698, allocations: 75.08 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.007021, allocations: 23.91 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.007031, allocations: 3.938 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.007054, allocations: 37.39 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.007055, allocations: 0 / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002164/0.007272, allocations: 97.5 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.007304, allocations: 55.41 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.007406, allocations: 191.8 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.007418, allocations: 25.7 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.007487, allocations: 158.9 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.007515, allocations: 39.69 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.007561, allocations: 35.31 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.007687, allocations: 0.4923 MB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.007724, allocations: 15.98 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.007783, allocations: 53.73 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.007882, allocations: 86.61 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007884, allocations: 4 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001498/0.008034, allocations: 97.52 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.008048, allocations: 8 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008052, allocations: 0 / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.008067, allocations: 3.938 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.008171, allocations: 27.98 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.00818, allocations: 12.02 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.008239, allocations: 23.88 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.008248, allocations: 4 kB / 279.1 MB, free: 11.11 MB / 266.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 8.065e-05/0.008329, allocations: 160.5 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.00836, allocations: 11.95 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.008391, allocations: 16.78 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.008395, allocations: 3.938 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.008398, allocations: 0 / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.008403, allocations: 3.984 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.008559, allocations: 152.6 kB / 279.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.008561, allocations: 4 kB / 279.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.008664, allocations: 23.98 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.008666, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.008677, allocations: 4 kB / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.008679, allocations: 0 / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.008684, allocations: 3.938 kB / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.008903, allocations: 251.7 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.008915, allocations: 11.89 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.008933, allocations: 4 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.009001, allocations: 7.984 kB / 279.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.009037, allocations: 15.95 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.009042, allocations: 4 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.009102, allocations: 142 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009102, allocations: 4 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.00935, allocations: 24 kB / 280 MB, free: 10.21 MB / 266.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 7.144e-05/0.009421, allocations: 95.25 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.009559, allocations: 59.59 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.009561, allocations: 0 / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.009605, allocations: 32.08 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.009898, allocations: 40.25 kB / 280.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008421/0.01074, allocations: 385.7 kB / 280.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.01078, allocations: 67.33 kB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.827e-05/0.01083, allocations: 12.48 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.01087, allocations: 16.5 kB / 280.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01087, allocations: 0 / 280.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of Templates: time 0.003445/0.01431, allocations: 1.294 MB / 282 MB, free: 8.195 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.678753790911287]