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.002537/0.002537, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002615/0.002615, allocations: 165.3 kB / 24.27 MB, free: 152 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.442e-06/1.442e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.093e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003686/0.003717, allocations: 2.012 MB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.004974, allocations: 0.6702 MB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/0.00506, allocations: 11.94 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.005181, allocations: 19.73 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.717e-05/0.005279, allocations: 39.62 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.005522, allocations: 63.73 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005744, allocations: 147.2 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.005852, allocations: 25.28 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.005993, allocations: 79.81 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.006096, allocations: 47.88 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.006123, allocations: 8 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.00621, allocations: 31.94 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.006246, allocations: 27.83 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.006314, allocations: 47.91 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.006826, allocations: 147.5 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006829, allocations: 0 / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00683, allocations: 0 / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.006839, allocations: 4 kB / 275.7 MB, free: 14.46 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.0007639/0.007603, allocations: 479.6 kB / 276.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.007648, allocations: 8.031 kB / 276.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.00788, allocations: 40.77 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.008117, allocations: 152.4 kB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.008135, allocations: 8.375 kB / 276.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.008164, allocations: 8.375 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.00843, allocations: 102.9 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.008447, allocations: 8.141 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.008467, allocations: 11.94 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.008475, allocations: 4 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.008744, allocations: 83.88 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009312/0.009675, allocations: 474.6 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.01004, allocations: 127 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.01015, allocations: 39.67 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.01016, allocations: 4 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.0102, allocations: 37.39 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.0102, allocations: 0 / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000973/0.01117, allocations: 393.5 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.01122, allocations: 63.28 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.0114, allocations: 205 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01142, allocations: 25.7 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.01155, allocations: 167 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.0116, allocations: 59.58 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.01168, allocations: 43.36 kB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002645/0.01194, allocations: 0.4923 MB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.01205, allocations: 39.98 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.01221, allocations: 88.34 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.01246, allocations: 126.7 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01247, allocations: 0 / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003367/0.0128, allocations: 161.4 kB / 279.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.01282, allocations: 4 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.01283, allocations: 4 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01285, allocations: 0 / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.01303, allocations: 39.92 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.01304, allocations: 7.938 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.01312, allocations: 4 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.01313, allocations: 8 kB / 279.1 MB, free: 10.73 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.0001578/0.01329, allocations: 176.4 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.01334, allocations: 23.97 kB / 279.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.0134, allocations: 20.72 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.0134, allocations: 0 / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.01341, allocations: 3.938 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01342, allocations: 0 / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007381/0.01415, allocations: 464.7 kB / 279.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01416, allocations: 0 / 279.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.01435, allocations: 31.92 kB / 279.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01435, allocations: 8.062 kB / 279.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.01437, allocations: 7.938 kB / 279.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.01437, allocations: 4 kB / 279.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01438, allocations: 0 / 279.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.015, allocations: 339.2 kB / 280.2 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.01501, allocations: 7.953 kB / 280.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.01504, allocations: 11.88 kB / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01515, allocations: 7.984 kB / 280.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.0152, allocations: 15.92 kB / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01521, allocations: 8 kB / 280.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.01533, allocations: 147.2 kB / 280.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01533, allocations: 0 / 280.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01559, allocations: 28 kB / 280.4 MB, free: 9.363 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.000135/0.01573, allocations: 103.3 kB / 280.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.01603, allocations: 115.6 kB / 280.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01603, allocations: 0 / 280.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.01616, allocations: 67.72 kB / 280.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.0165, allocations: 20 kB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.0173, allocations: 417.9 kB / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.0174, allocations: 98.27 kB / 281.2 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.14e-05/0.01747, allocations: 20.62 kB / 281.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.01752, allocations: 16.5 kB / 281.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01752, allocations: 0 / 281.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of Templates: time 0.004927/0.02245, allocations: 1.445 MB / 282.7 MB, free: 7.031 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","/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.490816185018048]