Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.114/1.114, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.893e-05/4.13e-05, allocations: 9.203 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00446/0.004501, allocations: 2.045 MB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.005829, allocations: 0.6817 MB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.005941, allocations: 0 / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.006095, allocations: 27.72 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.006204, allocations: 43.58 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.006545, allocations: 63.72 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.006776, allocations: 143.3 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.006932, allocations: 29.28 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.007103, allocations: 79.81 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.007216, allocations: 43.88 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.007251, allocations: 8 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.007367, allocations: 31.92 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.007416, allocations: 27.91 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.007483, allocations: 35.92 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.007801, allocations: 115.6 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.007807, allocations: 0 / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.007809, allocations: 0 / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.007818, allocations: 3.938 kB / 276.3 MB, free: 14.09 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.00078/0.008598, allocations: 479.9 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.008651, allocations: 11.98 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.008919, allocations: 36.83 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.009162, allocations: 151.2 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.00918, allocations: 8.375 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.009224, allocations: 16.31 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.009488, allocations: 110.8 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.009506, allocations: 4.141 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.009526, allocations: 7.938 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.009538, allocations: 4 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.009674, allocations: 35.97 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.01047, allocations: 450.5 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.01076, allocations: 95.05 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.01082, allocations: 27.67 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.01084, allocations: 4 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.01087, allocations: 33.39 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.194e-06/0.01087, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008097/0.01168, allocations: 309.6 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.01173, allocations: 55.34 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.01189, allocations: 202 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.01192, allocations: 29.7 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01202, allocations: 159 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.01207, allocations: 51.53 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.01214, allocations: 39.38 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.01232, allocations: 0.4923 MB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.01239, allocations: 15.98 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.01249, allocations: 66.58 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.01264, allocations: 82.23 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01264, allocations: 4 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002476/0.01289, allocations: 125.5 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.01291, allocations: 4.062 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.01292, allocations: 8 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.01294, allocations: 0 / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.01311, allocations: 39.91 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.01313, allocations: 11.88 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.01321, allocations: 8 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.01322, allocations: 4 kB / 279.4 MB, free: 10.69 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 0.0001114/0.01333, allocations: 156.6 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.01338, allocations: 19.91 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.01343, allocations: 20.77 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01343, allocations: 4 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.01344, allocations: 3.938 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01345, allocations: 4 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.01405, allocations: 413.4 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.01406, allocations: 4 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.01422, allocations: 31.97 kB / 280 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01422, allocations: 4 kB / 280 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.01424, allocations: 3.938 kB / 280 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01424, allocations: 4.062 kB / 280 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.01425, allocations: 4 kB / 280 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.0146, allocations: 291.1 kB / 280.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.01462, allocations: 7.953 kB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.01465, allocations: 11.94 kB / 280.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.01478, allocations: 4 kB / 280.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.01484, allocations: 11.98 kB / 280.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.01484, allocations: 0 / 280.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.948e-05/0.01493, allocations: 151.1 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01493, allocations: 0 / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.0154, allocations: 32 kB / 280.5 MB, free: 9.441 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.0001391/0.01554, allocations: 103.2 kB / 280.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.01576, allocations: 67.59 kB / 280.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.01576, allocations: 4 kB / 280.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.01584, allocations: 51.52 kB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.01631, allocations: 20 kB / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.01748, allocations: 430.1 kB / 281.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.997e-05/0.01755, allocations: 67.34 kB / 281.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.538e-05/0.01762, allocations: 16.58 kB / 281.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.01767, allocations: 16.5 kB / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of SimCode: time 1.493e-06/0.01767, allocations: 0 / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of Templates: time 0.004768/0.02244, allocations: 1.427 MB / 282.7 MB, free: 7.211 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.0854619559831917]