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.001721/0.001721, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002599/0.002599, allocations: 160.9 kB / 24.27 MB, free: 172 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.484/1.484, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.293e-06/1.293e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.552e-05, allocations: 6.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003579/0.003605, allocations: 1.961 MB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004807, allocations: 0.639 MB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.004902, allocations: 0 / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.005037, allocations: 23.73 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.005153, allocations: 51.56 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.005424, allocations: 51.8 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.005656, allocations: 151.2 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.005768, allocations: 25.28 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.005917, allocations: 79.75 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.006023, allocations: 47.88 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.006056, allocations: 12 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.006145, allocations: 23.98 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.006185, allocations: 31.84 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.006248, allocations: 39.92 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.006546, allocations: 155.5 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006548, allocations: 0 / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006549, allocations: 0 / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006554, allocations: 0 / 275.5 MB, free: 14.51 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.0007532/0.007307, allocations: 373.6 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.007358, allocations: 11.98 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.007607, allocations: 40.83 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.007891, allocations: 153.5 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.007907, allocations: 4.375 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.007945, allocations: 12.38 kB / 276 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.008253, allocations: 118.1 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.008269, allocations: 4.141 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.008299, allocations: 7.938 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.008307, allocations: 7.938 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.008607, allocations: 99.86 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.009468, allocations: 403.4 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.009847, allocations: 118.6 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.009988, allocations: 48.83 kB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.01001, allocations: 4 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.01004, allocations: 34.5 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.01004, allocations: 0 / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001135/0.01118, allocations: 409.5 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.01124, allocations: 63.34 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.01138, allocations: 130.2 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.01141, allocations: 33.7 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.01151, allocations: 112.2 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.01156, allocations: 47.59 kB / 277.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.01162, allocations: 33.7 kB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.01181, allocations: 326.8 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.01195, allocations: 39.97 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.01212, allocations: 75.31 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.01245, allocations: 131.3 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01245, allocations: 0 / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004004/0.01285, allocations: 165.5 kB / 278.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.01287, allocations: 8 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01288, allocations: 0 / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.0129, allocations: 4 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.01309, allocations: 40.03 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.0131, allocations: 3.938 kB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.01321, allocations: 15.98 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01322, allocations: 4 kB / 278.5 MB, free: 11.26 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.0001232/0.01335, allocations: 129.7 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.01339, allocations: 15.91 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.01345, allocations: 20.78 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01345, allocations: 0 / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.01346, allocations: 3.938 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.01346, allocations: 7.984 kB / 278.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.01422, allocations: 392 kB / 279 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01423, allocations: 0 / 279 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.01444, allocations: 43.91 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01444, allocations: 0 / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.01446, allocations: 7.938 kB / 279.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01446, allocations: 0 / 279.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01446, allocations: 4.062 kB / 279.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.01505, allocations: 313 kB / 279.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.01507, allocations: 7.953 kB / 279.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.0151, allocations: 11.97 kB / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.01523, allocations: 8 kB / 279.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.01528, allocations: 7.984 kB / 279.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.01529, allocations: 4 kB / 279.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.893e-05/0.01538, allocations: 109.7 kB / 279.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01538, allocations: 0 / 279.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.01566, allocations: 32 kB / 279.6 MB, free: 10.09 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.0001299/0.01579, allocations: 95.25 kB / 279.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.01614, allocations: 111.6 kB / 279.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01615, allocations: 0 / 279.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.0163, allocations: 60.16 kB / 279.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.01666, allocations: 35.19 kB / 279.9 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.0175, allocations: 406.4 kB / 280.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.01761, allocations: 94.28 kB / 280.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.01768, allocations: 12.64 kB / 280.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.01773, allocations: 16.5 kB / 280.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01773, allocations: 0 / 280.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of Templates: time 0.005106/0.02284, allocations: 1.446 MB / 281.8 MB, free: 7.812 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.36060329596512]