Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.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.0008055/0.0008055, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004214/0.004214, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 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.8182/0.8182, allocations: 177.1 MB / 205 MB, free: 5.73 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 325.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.431e-05, allocations: 5.516 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003368/0.003402, allocations: 1.96 MB / 327.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004577, allocations: 0.6584 MB / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.004698, allocations: 7.938 kB / 328.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.004833, allocations: 11.86 kB / 328.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.004937, allocations: 47.56 kB / 328.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.005248, allocations: 59.69 kB / 328.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.005464, allocations: 151.2 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.005619, allocations: 33.08 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.005759, allocations: 79.8 kB / 328.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.005853, allocations: 43.89 kB / 328.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.005879, allocations: 8 kB / 328.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.91e-05/0.005968, allocations: 27.97 kB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.006, allocations: 27.86 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.006053, allocations: 39.91 kB / 329 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.006334, allocations: 159.5 kB / 329.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.00634, allocations: 0 / 329.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.006342, allocations: 0 / 329.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.006348, allocations: 0 / 329.1 MB, free: 12.14 MB / 298.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.0006561/0.007004, allocations: 376.9 kB / 329.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.007044, allocations: 8.031 kB / 329.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.007249, allocations: 28.83 kB / 329.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.007532, allocations: 133.7 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.007551, allocations: 20.25 kB / 329.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.007586, allocations: 8.375 kB / 329.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.007876, allocations: 122.2 kB / 329.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.007893, allocations: 192 / 329.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.00791, allocations: 3.938 kB / 329.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.007917, allocations: 4 kB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.008183, allocations: 87.94 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.008989, allocations: 419.2 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.009362, allocations: 126.5 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.009482, allocations: 44.83 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.009501, allocations: 4 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.009523, allocations: 30.56 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.913e-06/0.009525, allocations: 0 / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001011/0.01054, allocations: 405 kB / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.01058, allocations: 59.34 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.01071, allocations: 134.2 kB / 331.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.01073, allocations: 25.7 kB / 331.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.0108, allocations: 116.2 kB / 331.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.01084, allocations: 47.59 kB / 331.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.0109, allocations: 33.7 kB / 331.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.011, allocations: 318.8 kB / 331.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.01112, allocations: 47.97 kB / 331.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01125, allocations: 74.36 kB / 331.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.01148, allocations: 127.3 kB / 331.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01148, allocations: 0 / 331.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003052/0.01179, allocations: 169.5 kB / 332 MB, free: 9.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.01181, allocations: 4 kB / 332 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.01182, allocations: 0 / 332 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.01184, allocations: 4 kB / 332 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.01201, allocations: 35.97 kB / 332.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.01203, allocations: 7.938 kB / 332.1 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.01211, allocations: 8 kB / 332.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.01212, allocations: 7.938 kB / 332.1 MB, free: 8.938 MB / 298.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 (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.0001227/0.01224, allocations: 129.9 kB / 332.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.01228, allocations: 11.91 kB / 332.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.01233, allocations: 16.78 kB / 332.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.01233, allocations: 0 / 332.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.01234, allocations: 7.875 kB / 332.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01235, allocations: 0 / 332.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006934/0.01304, allocations: 407.8 kB / 332.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01304, allocations: 8 kB / 332.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.01323, allocations: 35.97 kB / 332.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01324, allocations: 0 / 332.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01325, allocations: 7.938 kB / 332.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01326, allocations: 4 kB / 332.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01326, allocations: 0 / 332.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.01373, allocations: 304.8 kB / 333 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.01376, allocations: 7.953 kB / 333 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.01378, allocations: 15.88 kB / 333 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.01389, allocations: 12.03 kB / 333 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.01393, allocations: 11.92 kB / 333 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.01394, allocations: 4 kB / 333 MB, free: 7.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.01401, allocations: 105.8 kB / 333.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01401, allocations: 4 kB / 333.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.0143, allocations: 28 kB / 333.2 MB, free: 7.773 MB / 298.7 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.0001313/0.01443, allocations: 99.25 kB / 333.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.01474, allocations: 107.8 kB / 333.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01474, allocations: 0 / 333.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.01486, allocations: 55.91 kB / 333.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.01523, allocations: 23.98 kB / 333.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.01604, allocations: 434.2 kB / 333.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.858e-05/0.01613, allocations: 94.28 kB / 334 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.01619, allocations: 16.5 kB / 334 MB, free: 6.891 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01619, allocations: 0 / 334 MB, free: 6.891 MB / 298.7 MB Notification: Performance of Templates: time 0.003449/0.01964, allocations: 1.767 MB / 335.8 MB, free: 5.133 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.211354214698076]