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.001435/0.001435, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001533/0.001533, allocations: 161.6 kB / 24.27 MB, free: 172 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.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.573e-06/1.573e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.195e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003475/0.003507, allocations: 1.96 MB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.004698, allocations: 0.6351 MB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.004783, allocations: 7.938 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.004911, allocations: 19.73 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.883e-05/0.005009, allocations: 47.62 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.005259, allocations: 59.73 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.005475, allocations: 151.2 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.005586, allocations: 25.3 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.005824, allocations: 79.8 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.005922, allocations: 47.83 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.005949, allocations: 8 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.031e-05/0.006029, allocations: 23.98 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.006066, allocations: 31.84 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.00614, allocations: 43.91 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.006405, allocations: 151.5 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.006409, allocations: 3.984 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00641, allocations: 0 / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006415, allocations: 0 / 275.6 MB, free: 14.52 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.0007317/0.007146, allocations: 365.7 kB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.007186, allocations: 8.031 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.007424, allocations: 52.75 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.007681, allocations: 141.5 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.007699, allocations: 8.375 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.007738, allocations: 12.38 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.008043, allocations: 106.9 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.008074, allocations: 16.12 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.008091, allocations: 3.938 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.008101, allocations: 4 kB / 276.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.008398, allocations: 99.81 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008598/0.009258, allocations: 407.4 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.009626, allocations: 114.6 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.009765, allocations: 40.84 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.009779, allocations: 4 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.009816, allocations: 42.55 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.009817, allocations: 0 / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001098/0.01091, allocations: 401 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.01096, allocations: 63.28 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.01111, allocations: 137.4 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.01113, allocations: 33.7 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.01122, allocations: 112.2 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.01127, allocations: 55.58 kB / 277.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.01133, allocations: 25.72 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.01151, allocations: 322.8 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.01165, allocations: 43.97 kB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.01182, allocations: 79.3 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.01214, allocations: 131.3 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01214, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003887/0.01253, allocations: 161.5 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.01254, allocations: 5.25 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01255, allocations: 4 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.01256, allocations: 0 / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.01276, allocations: 43.97 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01277, allocations: 11.94 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.925e-05/0.01287, allocations: 4 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.01289, allocations: 8 kB / 278.6 MB, free: 11.29 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.0001314/0.01302, allocations: 133.7 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.01307, allocations: 19.91 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.01312, allocations: 20.72 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01312, allocations: 4 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.01313, allocations: 3.938 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01313, allocations: 0 / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007488/0.01388, allocations: 392.6 kB / 279.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.01388, allocations: 4 kB / 279.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.0141, allocations: 39.91 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.0141, allocations: 4 kB / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01412, allocations: 3.938 kB / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01412, allocations: 0 / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01412, allocations: 8.062 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.0147, allocations: 304 kB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.01472, allocations: 11.95 kB / 279.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.01476, allocations: 7.875 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.01491, allocations: 8.031 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.01496, allocations: 15.92 kB / 279.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.01497, allocations: 4 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.979e-05/0.01506, allocations: 107.2 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01506, allocations: 4 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.01535, allocations: 28 kB / 279.7 MB, free: 10.11 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.0001482/0.01549, allocations: 95.25 kB / 279.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.01587, allocations: 107.9 kB / 279.9 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01587, allocations: 0 / 279.9 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.01604, allocations: 60.16 kB / 279.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.0164, allocations: 24.25 kB / 280 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.01721, allocations: 414.6 kB / 280.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.01732, allocations: 94.28 kB / 280.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.785e-05/0.01738, allocations: 12.64 kB / 280.5 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.01744, allocations: 20.5 kB / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01744, allocations: 0 / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of Templates: time 0.004871/0.02231, allocations: 1.448 MB / 281.9 MB, free: 7.828 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=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.318490182980895]