Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.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.001897/0.001897, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002031/0.002031, allocations: 161.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.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.007e-05, allocations: 6.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003972/0.004002, allocations: 2.001 MB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.005386, allocations: 0.6663 MB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.005476, allocations: 4 kB / 275 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.005604, allocations: 19.8 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.005706, allocations: 47.55 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.005979, allocations: 59.73 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.006224, allocations: 151.2 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.00636, allocations: 25.3 kB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.006511, allocations: 79.8 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.00662, allocations: 39.91 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.006651, allocations: 8 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.006745, allocations: 31.97 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.006782, allocations: 23.92 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.00685, allocations: 43.84 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.007147, allocations: 155.5 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.007151, allocations: 0 / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.007152, allocations: 0 / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.007157, allocations: 0 / 275.6 MB, free: 14.5 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.0007608/0.007918, allocations: 471.6 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.007956, allocations: 12.03 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.008199, allocations: 36.88 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.008427, allocations: 148.4 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.008442, allocations: 8.375 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.008471, allocations: 8.375 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.008728, allocations: 106.8 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.008742, allocations: 192 / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.008762, allocations: 11.94 kB / 276.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.008767, allocations: 0 / 276.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.009007, allocations: 83.89 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.00995, allocations: 494.4 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.01029, allocations: 110.9 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.01039, allocations: 35.72 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.0104, allocations: 3.984 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.01044, allocations: 41.39 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.01044, allocations: 0 / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.000396/0.01083, allocations: 133.7 kB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.01088, allocations: 51.41 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.01108, allocations: 207.5 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.0111, allocations: 25.7 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.01122, allocations: 170.9 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.01126, allocations: 35.73 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.01133, allocations: 35.33 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.01159, allocations: 0.4962 MB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.01168, allocations: 35.92 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.01182, allocations: 74.72 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.01205, allocations: 110.7 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01205, allocations: 0 / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002956/0.01235, allocations: 137.5 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.01237, allocations: 12.09 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01237, allocations: 0 / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01239, allocations: 3.938 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.01254, allocations: 31.92 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01255, allocations: 4 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.01263, allocations: 15.89 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01264, allocations: 8 kB / 278.7 MB, free: 11.15 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 (14): * Single equations (assignments): 14 * 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.00013/0.01277, allocations: 164.6 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.01281, allocations: 11.95 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.01287, allocations: 20.77 kB / 278.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.01288, allocations: 7.938 kB / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01288, allocations: 0 / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01289, allocations: 0 / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.01311, allocations: 160.5 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01311, allocations: 4 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.01327, allocations: 23.98 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01328, allocations: 0 / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01329, allocations: 0 / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01329, allocations: 0 / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.01329, allocations: 3.938 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.01375, allocations: 303.8 kB / 279.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.01377, allocations: 11.89 kB / 279.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.0138, allocations: 8 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.01389, allocations: 0 / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.01394, allocations: 11.92 kB / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.01395, allocations: 0 / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.01406, allocations: 161.9 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01406, allocations: 0 / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.01431, allocations: 24 kB / 279.6 MB, free: 10.19 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (9): * Single equations (assignments): 9 * 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.0001292/0.01444, allocations: 107.2 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.01473, allocations: 91.52 kB / 279.8 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01473, allocations: 4 kB / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.01484, allocations: 44.14 kB / 279.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.01516, allocations: 20.11 kB / 279.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.01596, allocations: 401.9 kB / 280.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.01606, allocations: 89.31 kB / 280.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.01611, allocations: 12.48 kB / 280.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.01616, allocations: 12.5 kB / 280.4 MB, free: 9.359 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01616, allocations: 0 / 280.4 MB, free: 9.359 MB / 266.7 MB Notification: Performance of Templates: time 0.004881/0.02104, allocations: 1.235 MB / 281.6 MB, free: 8.156 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.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.394579570041969]