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.0008061/0.0008061, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003605/0.003605, allocations: 156.7 kB / 24.7 MB, free: 9.441 MB / 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 0.8436/0.8436, allocations: 177 MB / 204.9 MB, free: 5.742 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 1.673e-06/1.673e-06, allocations: 0 / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.273e-05, allocations: 2.281 kB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003047/0.00307, allocations: 1.954 MB / 327.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.004015, allocations: 0.6467 MB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.004108, allocations: 7.938 kB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.004229, allocations: 23.72 kB / 328.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.004311, allocations: 43.64 kB / 328.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.004582, allocations: 59.72 kB / 328.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.004769, allocations: 147.3 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.0049, allocations: 29.06 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.005013, allocations: 83.75 kB / 328.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.005098, allocations: 43.88 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.00512, allocations: 8 kB / 328.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.005192, allocations: 31.98 kB / 328.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.005215, allocations: 27.84 kB / 328.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.005261, allocations: 39.92 kB / 328.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.005484, allocations: 151.5 kB / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005486, allocations: 0 / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005487, allocations: 0 / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.005492, allocations: 4 kB / 329 MB, free: 11.97 MB / 298.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.0005767/0.006068, allocations: 377.6 kB / 329.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.006107, allocations: 15.98 kB / 329.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.006267, allocations: 28.83 kB / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.006474, allocations: 137.6 kB / 329.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.006489, allocations: 8.375 kB / 329.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.006523, allocations: 12.38 kB / 329.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.006769, allocations: 114.2 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.006785, allocations: 4.188 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.006799, allocations: 3.938 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006804, allocations: 4 kB / 329.7 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.00703, allocations: 95.92 kB / 329.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/0.007691, allocations: 419.2 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.008001, allocations: 114.5 kB / 330.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.0081, allocations: 44.88 kB / 330.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.008115, allocations: 0 / 330.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.008135, allocations: 34.56 kB / 330.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.008137, allocations: 0 / 330.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000847/0.008984, allocations: 409 kB / 330.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.00902, allocations: 55.34 kB / 330.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.009124, allocations: 134.2 kB / 331 MB, free: 9.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.009141, allocations: 25.7 kB / 331 MB, free: 9.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.009209, allocations: 120.2 kB / 331.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.009246, allocations: 47.58 kB / 331.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.009302, allocations: 37.7 kB / 331.2 MB, free: 9.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.009403, allocations: 318.8 kB / 331.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.009509, allocations: 51.91 kB / 331.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.009629, allocations: 74.69 kB / 331.7 MB, free: 9.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.009838, allocations: 123.3 kB / 331.8 MB, free: 9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.00984, allocations: 0 / 331.8 MB, free: 9 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000278/0.01012, allocations: 171.8 kB / 332 MB, free: 8.828 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01013, allocations: 11.98 kB / 332 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01014, allocations: 0 / 332 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01015, allocations: 0 / 332 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01029, allocations: 39.92 kB / 332 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.01029, allocations: 3.938 kB / 332 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.01036, allocations: 11.92 kB / 332 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.01037, allocations: 8 kB / 332 MB, free: 8.754 MB / 298.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 7.871e-05/0.01045, allocations: 125.9 kB / 332.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.01048, allocations: 11.91 kB / 332.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.01052, allocations: 16.78 kB / 332.2 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01052, allocations: 3.984 kB / 332.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01052, allocations: 3.938 kB / 332.2 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01053, allocations: 4 kB / 332.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.01103, allocations: 403.7 kB / 332.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01103, allocations: 4.062 kB / 332.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.01116, allocations: 31.98 kB / 332.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01117, allocations: 0 / 332.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.01118, allocations: 11.94 kB / 332.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01118, allocations: 0 / 332.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01118, allocations: 0 / 332.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.01156, allocations: 309.8 kB / 332.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.01157, allocations: 15.98 kB / 333 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.01159, allocations: 3.938 kB / 333 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.01167, allocations: 8 kB / 333 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.01171, allocations: 11.97 kB / 333 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.01172, allocations: 8 kB / 333 MB, free: 7.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.481e-05/0.01178, allocations: 106.4 kB / 333.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01178, allocations: 0 / 333.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.01204, allocations: 28 kB / 333.1 MB, free: 7.602 MB / 298.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.0001008/0.01214, allocations: 107.1 kB / 333.2 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.0124, allocations: 103.9 kB / 333.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.0124, allocations: 4 kB / 333.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.0125, allocations: 55.91 kB / 333.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.01281, allocations: 27.69 kB / 333.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.01342, allocations: 437.5 kB / 333.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.656e-05/0.01349, allocations: 102.3 kB / 333.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.01354, allocations: 12.5 kB / 334 MB, free: 6.703 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01354, allocations: 3.938 kB / 334 MB, free: 6.699 MB / 298.7 MB Notification: Performance of Templates: time 0.002626/0.01617, allocations: 1.751 MB / 335.7 MB, free: 4.953 MB / 298.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.2439043605700135]