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.0019/0.0019, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002204/0.002204, allocations: 153.1 kB / 24.25 MB, free: 156 kB / 18.57 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.425/1.425, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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 1.593e-06/1.593e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.772e-05/3.931e-05, allocations: 6.25 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004287/0.004327, allocations: 1.75 MB / 269 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.00574, allocations: 0.5959 MB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.005874, allocations: 0 / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.006035, allocations: 23.78 kB / 269.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.006153, allocations: 35.7 kB / 269.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.006445, allocations: 47.81 kB / 269.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.006684, allocations: 131.2 kB / 269.9 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.006832, allocations: 21.53 kB / 269.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.006989, allocations: 71.8 kB / 270 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.0071, allocations: 35.89 kB / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.007131, allocations: 12 kB / 270 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.007239, allocations: 23.98 kB / 270 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.007278, allocations: 19.92 kB / 270.1 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.007362, allocations: 35.92 kB / 270.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.007663, allocations: 131.6 kB / 270.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.007676, allocations: 4 kB / 270.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007677, allocations: 0 / 270.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.007684, allocations: 0 / 270.2 MB, free: 3.801 MB / 250.7 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.0007138/0.008398, allocations: 338 kB / 270.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.008434, allocations: 8.031 kB / 270.6 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.008699, allocations: 36.83 kB / 270.6 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.008984, allocations: 137.6 kB / 270.7 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.009001, allocations: 8.562 kB / 270.7 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.009037, allocations: 12.38 kB / 270.8 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.009278, allocations: 97.33 kB / 270.8 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.009291, allocations: 0 / 270.8 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.00931, allocations: 11.94 kB / 270.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.009315, allocations: 0 / 270.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.009462, allocations: 59.91 kB / 270.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.01027, allocations: 367.6 kB / 271.3 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.0106, allocations: 106.6 kB / 271.4 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.01066, allocations: 28.84 kB / 271.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.01068, allocations: 0 / 271.4 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.01071, allocations: 34.56 kB / 271.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.01071, allocations: 0 / 271.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.001463/0.01217, allocations: 393.1 kB / 271.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.01223, allocations: 55.34 kB / 271.9 MB, free: 1.984 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.01237, allocations: 125.8 kB / 272 MB, free: 1.852 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.0124, allocations: 29.7 kB / 272 MB, free: 1.816 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.01249, allocations: 108 kB / 272.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.01255, allocations: 47.58 kB / 272.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.01262, allocations: 25.72 kB / 272.2 MB, free: 1.629 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.0128, allocations: 330.8 kB / 272.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.01287, allocations: 31.98 kB / 272.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.01296, allocations: 58.23 kB / 272.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.01313, allocations: 100.2 kB / 272.7 MB, free: 1.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01313, allocations: 0 / 272.7 MB, free: 1.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002516/0.01338, allocations: 141.5 kB / 272.9 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.0134, allocations: 4 kB / 272.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.0134, allocations: 4 kB / 272.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.01342, allocations: 4.062 kB / 272.9 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.01359, allocations: 31.92 kB / 272.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.0136, allocations: 4 kB / 272.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.01366, allocations: 0 / 272.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.01367, allocations: 8 kB / 272.9 MB, free: 0.8906 MB / 250.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 (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 0.0001208/0.0138, allocations: 125.7 kB / 273 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.01384, allocations: 11.95 kB / 273 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.01389, allocations: 20.42 kB / 273.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01389, allocations: 0 / 273.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.0139, allocations: 0 / 273.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.0139, allocations: 4 kB / 273.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.01452, allocations: 371.6 kB / 273.4 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01452, allocations: 0 / 273.4 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.01469, allocations: 27.98 kB / 273.5 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.0147, allocations: 4 kB / 273.5 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01471, allocations: 0 / 273.5 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.01471, allocations: 4 kB / 273.5 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01471, allocations: 0 / 273.5 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.01509, allocations: 253.1 kB / 273.7 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.01513, allocations: 16.03 kB / 273.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01515, allocations: 0 / 273.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.01525, allocations: 4 kB / 273.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.01527, allocations: 11.88 kB / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01528, allocations: 4 kB / 273.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.603e-05/0.01537, allocations: 99.2 kB / 273.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01537, allocations: 0 / 273.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.01565, allocations: 24 kB / 273.9 MB, free: 15.86 MB / 266.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 (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.0001403/0.01579, allocations: 103.2 kB / 274 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.01599, allocations: 75.91 kB / 274 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01599, allocations: 0 / 274 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.01607, allocations: 47.95 kB / 274.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.01644, allocations: 12 kB / 274.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000837/0.01727, allocations: 389.4 kB / 274.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.0174, allocations: 88.27 kB / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.01747, allocations: 16.97 kB / 274.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.01753, allocations: 12.5 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01753, allocations: 0 / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Templates: time 0.004702/0.02223, allocations: 1.138 MB / 275.7 MB, free: 13.94 MB / 266.7 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.306094097089954]