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.001034/0.001034, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001146/0.001146, allocations: 161 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 1.062/1.062, allocations: 177.1 MB / 205 MB, free: 5.25 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 1.844e-06/1.844e-06, allocations: 0 / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.982e-05, allocations: 2.312 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003745/0.003775, allocations: 2.04 MB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.005037, allocations: 0.6934 MB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.005147, allocations: 0 / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.005293, allocations: 27.73 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.005399, allocations: 39.58 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.005707, allocations: 51.86 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.005929, allocations: 159.2 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.006069, allocations: 17.25 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.006207, allocations: 87.78 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.006311, allocations: 39.89 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.006337, allocations: 15.94 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.006426, allocations: 27.98 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.006456, allocations: 19.92 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.006514, allocations: 47.89 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.006769, allocations: 111.6 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006773, allocations: 4 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.006775, allocations: 3.938 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.00678, allocations: 0 / 276.3 MB, free: 14 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.0006388/0.007418, allocations: 472 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.007462, allocations: 8.031 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.007695, allocations: 36.83 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.007909, allocations: 156.4 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.007924, allocations: 8.375 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.007961, allocations: 12.38 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.008197, allocations: 97.53 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.008212, allocations: 8.141 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.008229, allocations: 11.88 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.008239, allocations: 4 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.008369, allocations: 39.95 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.009112, allocations: 454.5 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.009387, allocations: 87.06 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.00945, allocations: 27.72 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.009462, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.009492, allocations: 45.33 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.009493, allocations: 0 / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006969/0.01019, allocations: 310.3 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.01022, allocations: 59.33 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.01035, allocations: 189.9 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.01036, allocations: 33.7 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.01044, allocations: 159 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.01049, allocations: 51.53 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.01054, allocations: 35.38 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.01069, allocations: 0.4962 MB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.01075, allocations: 15.98 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.01083, allocations: 65.44 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.01097, allocations: 90.66 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01097, allocations: 0 / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002155/0.01119, allocations: 125.5 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01121, allocations: 4 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01121, allocations: 0 / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01123, allocations: 4 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.01139, allocations: 39.92 kB / 279.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.0114, allocations: 7.938 kB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.01147, allocations: 0 / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.01148, allocations: 8 kB / 279.4 MB, free: 10.62 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 (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 9.568e-05/0.01158, allocations: 168.5 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.01162, allocations: 19.97 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.01166, allocations: 20.78 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01167, allocations: 0 / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.01167, allocations: 3.938 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01168, allocations: 0 / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.01222, allocations: 408.8 kB / 280 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01222, allocations: 4 kB / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.01239, allocations: 35.92 kB / 280.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01239, allocations: 4.062 kB / 280.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.01241, allocations: 7.938 kB / 280.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01241, allocations: 0 / 280.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01241, allocations: 0 / 280.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.01273, allocations: 299.1 kB / 280.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.01275, allocations: 7.953 kB / 280.4 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.01278, allocations: 11.94 kB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.01287, allocations: 3.984 kB / 280.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.01291, allocations: 7.984 kB / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01292, allocations: 12 kB / 280.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.222e-05/0.01301, allocations: 154.2 kB / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01301, allocations: 0 / 280.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003023/0.01331, allocations: 28 kB / 280.6 MB, free: 9.359 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 (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.0001141/0.01342, allocations: 95.25 kB / 280.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.01362, allocations: 83.14 kB / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01362, allocations: 0 / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.01369, allocations: 43.61 kB / 280.8 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.01407, allocations: 28.23 kB / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.01506, allocations: 414 kB / 281.3 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.815e-05/0.01512, allocations: 71.28 kB / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.01519, allocations: 12.64 kB / 281.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.01524, allocations: 16.5 kB / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01524, allocations: 0 / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of Templates: time 0.004365/0.01961, allocations: 1.444 MB / 282.8 MB, free: 7.125 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0354734021238983]