Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 110.7 kB / 17.73 MB, free: 5.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 190.8 kB / 20.68 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 246.4 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 51.92 kB / 358 MB, free: 8.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1384, allocations: 49.43 MB / 407.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00323/0.1417, allocations: 1.783 MB / 409.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1428, allocations: 0.6427 MB / 409.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.1429, allocations: 0 / 409.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.143, allocations: 15.8 kB / 409.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.1431, allocations: 31.7 kB / 409.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1434, allocations: 55.81 kB / 409.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.1436, allocations: 119.4 kB / 410 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1437, allocations: 45.3 kB / 410.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.1438, allocations: 39.84 kB / 410.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1439, allocations: 51.78 kB / 410.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1439, allocations: 8 kB / 410.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.144, allocations: 20 kB / 410.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.1441, allocations: 23.86 kB / 410.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.1441, allocations: 55.78 kB / 410.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1444, allocations: 127.5 kB / 410.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1444, allocations: 0 / 410.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1444, allocations: 4 kB / 410.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1444, allocations: 0 / 410.4 MB, free: 3.824 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006348/0.145, allocations: 415.1 kB / 410.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1451, allocations: 11.89 kB / 410.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.1453, allocations: 32.83 kB / 410.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1456, allocations: 200.1 kB / 411.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1456, allocations: 8.562 kB / 411.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1456, allocations: 12.38 kB / 411.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1459, allocations: 93.59 kB / 411.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1459, allocations: 0 / 411.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1459, allocations: 4 kB / 411.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1459, allocations: 0 / 411.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1461, allocations: 65.28 kB / 411.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/0.1468, allocations: 451.6 kB / 411.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1472, allocations: 98.58 kB / 411.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.1472, allocations: 36.84 kB / 411.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.1472, allocations: 0 / 411.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.1473, allocations: 30.56 kB / 411.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1473, allocations: 4 kB / 411.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00137/0.1487, allocations: 0.5274 MB / 412.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1487, allocations: 55.41 kB / 412.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1489, allocations: 126 kB / 412.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1489, allocations: 25.7 kB / 412.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.149, allocations: 112 kB / 412.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.149, allocations: 51.52 kB / 412.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.1491, allocations: 33.72 kB / 412.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1492, allocations: 318.8 kB / 413.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1494, allocations: 35.92 kB / 413.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.1495, allocations: 59.36 kB / 413.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1496, allocations: 107.3 kB / 413.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1496, allocations: 0 / 413.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002492/0.1499, allocations: 129.6 kB / 413.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1499, allocations: 4 kB / 413.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1499, allocations: 4 kB / 413.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.1499, allocations: 0 / 413.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1501, allocations: 31.98 kB / 413.4 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1501, allocations: 7.938 kB / 413.5 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.1502, allocations: 3.938 kB / 413.5 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1502, allocations: 7.938 kB / 413.5 MB, free: 468 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 (17): * Single equations (assignments): 17 * 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 9.957e-05/0.1503, allocations: 121.8 kB / 413.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1503, allocations: 12.02 kB / 413.6 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.1504, allocations: 16.36 kB / 413.6 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1504, allocations: 4 kB / 413.6 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1504, allocations: 0 / 413.6 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1504, allocations: 3.938 kB / 413.6 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.151, allocations: 420.1 kB / 414 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.151, allocations: 4.062 kB / 414 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1511, allocations: 27.98 kB / 414.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1511, allocations: 7.938 kB / 414.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1512, allocations: 3.938 kB / 414.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.1512, allocations: 8 kB / 414.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1512, allocations: 0 / 414.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1515, allocations: 253.1 kB / 414.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.1515, allocations: 85.06 kB / 414.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1516, allocations: 3.938 kB / 414.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.1516, allocations: 0 / 414.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.1517, allocations: 15.97 kB / 414.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1517, allocations: 4 kB / 414.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.1518, allocations: 95.27 kB / 414.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1518, allocations: 0 / 414.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.152, allocations: 24 kB / 414.5 MB, free: 15.26 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 (12): * Single equations (assignments): 12 * 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.0001245/0.1522, allocations: 107.2 kB / 414.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1524, allocations: 80 kB / 414.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1524, allocations: 7.875 kB / 414.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.1524, allocations: 39.92 kB / 414.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1528, allocations: 25.83 kB / 414.8 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.1536, allocations: 471.9 kB / 415.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.154, allocations: 0.7041 MB / 416 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.585e-05/0.154, allocations: 8.891 kB / 416 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.1541, allocations: 11.44 kB / 416 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1541, allocations: 0 / 416 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.004079/0.1582, allocations: 1.129 MB / 417.1 MB, free: 12.64 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.410191553644836]