Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001123/0.001123, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001721/0.002843, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000752/0.000752, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009721/0.001724, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9521/0.9521, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1601/1.112, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.151e-05, allocations: 2.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001848/0.00186, allocations: 1.842 MB / 223.7 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000618/0.002478, allocations: 0.6825 MB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.002531, allocations: 0 / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.76e-05/0.002589, allocations: 23.8 kB / 224.4 MB, free: 13.6 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.002658, allocations: 35.64 kB / 224.4 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.882e-05/0.002756, allocations: 47.86 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.002882, allocations: 131.3 kB / 224.6 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.002967, allocations: 19.97 kB / 224.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.003054, allocations: 75.81 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.003128, allocations: 35.89 kB / 224.7 MB, free: 13.26 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.003145, allocations: 8 kB / 224.7 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.003222, allocations: 20 kB / 224.7 MB, free: 13.23 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.003238, allocations: 11.94 kB / 224.8 MB, free: 13.22 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.003268, allocations: 31.94 kB / 224.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.003446, allocations: 91.69 kB / 224.9 MB, free: 13.1 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.003459, allocations: 0 / 224.9 MB, free: 13.1 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003459, allocations: 4 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.00347, allocations: 0 / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003987/0.003869, allocations: 336.2 kB / 225.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.0039, allocations: 12.03 kB / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.004061, allocations: 110 kB / 225.3 MB, free: 12.61 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.004179, allocations: 133.5 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.004189, allocations: 8.562 kB / 225.5 MB, free: 12.44 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.004206, allocations: 12.38 kB / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.004309, allocations: 78.33 kB / 225.6 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.004319, allocations: 3.984 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.004327, allocations: 0 / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.004333, allocations: 4 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.482e-05/0.004388, allocations: 35.86 kB / 225.6 MB, free: 12.3 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.004863, allocations: 299.2 kB / 225.9 MB, free: 11.99 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.004994, allocations: 62.53 kB / 226 MB, free: 11.92 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.005014, allocations: 16.86 kB / 226 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.005021, allocations: 0 / 226 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.00504, allocations: 38.56 kB / 226 MB, free: 11.86 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 7.01e-07/0.00504, allocations: 0 / 226 MB, free: 11.86 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001083/0.005149, allocations: 65.84 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.005172, allocations: 51.41 kB / 226.1 MB, free: 11.72 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.005223, allocations: 126.8 kB / 226.2 MB, free: 11.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005234, allocations: 29.7 kB / 226.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.005276, allocations: 103.9 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.005297, allocations: 35.72 kB / 226.4 MB, free: 11.41 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.005325, allocations: 29.7 kB / 226.4 MB, free: 11.38 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.005398, allocations: 326.8 kB / 226.8 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.005412, allocations: 4 kB / 226.8 MB, free: 11.04 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.005442, allocations: 39.42 kB / 226.8 MB, free: 10.99 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.968e-05/0.005492, allocations: 63.33 kB / 226.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.005493, allocations: 0 / 226.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.587e-05/0.005559, allocations: 73.55 kB / 226.9 MB, free: 10.84 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005571, allocations: 16.03 kB / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005575, allocations: 0 / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.573e-06/0.005582, allocations: 0 / 227 MB, free: 10.82 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.005687, allocations: 39.92 kB / 227 MB, free: 10.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.005691, allocations: 4.062 kB / 227 MB, free: 10.78 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.005718, allocations: 11.89 kB / 227 MB, free: 10.77 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.005722, allocations: 0 / 227 MB, free: 10.77 MB / 234.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 (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 prepare postOptimizeDAE: time 4.769e-05/0.005769, allocations: 121.8 kB / 227.1 MB, free: 10.64 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.005783, allocations: 4 kB / 227.1 MB, free: 10.64 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.005811, allocations: 24.42 kB / 227.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005813, allocations: 0 / 227.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005814, allocations: 0 / 227.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005818, allocations: 3.984 kB / 227.2 MB, free: 10.61 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.386e-05/0.005912, allocations: 89.8 kB / 227.2 MB, free: 10.5 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005912, allocations: 3.938 kB / 227.2 MB, free: 10.5 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.005986, allocations: 31.98 kB / 227.3 MB, free: 10.47 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.005995, allocations: 11.95 kB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005996, allocations: 0 / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.006001, allocations: 0 / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006002, allocations: 0 / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006003, allocations: 4 kB / 227.3 MB, free: 10.45 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.006244, allocations: 175.4 kB / 227.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.006254, allocations: 0 / 227.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.006287, allocations: 0 / 227.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.006301, allocations: 15.92 kB / 227.5 MB, free: 10.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.006303, allocations: 0 / 227.5 MB, free: 10.25 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.231e-05/0.006316, allocations: 16.84 kB / 227.5 MB, free: 10.23 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006316, allocations: 0 / 227.5 MB, free: 10.23 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.006449, allocations: 31.89 kB / 227.5 MB, free: 10.2 MB / 234.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 (8): * Single equations (assignments): 8 * 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 5.619e-05/0.006505, allocations: 76.42 kB / 227.6 MB, free: 10.12 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.613e-05/0.006571, allocations: 44.77 kB / 227.6 MB, free: 10.07 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.006576, allocations: 7.938 kB / 227.7 MB, free: 10.06 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.006595, allocations: 24.84 kB / 227.7 MB, free: 10.04 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.006741, allocations: 27.94 kB / 227.7 MB, free: 10.01 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.008721, allocations: 296.5 kB / 228 MB, free: 9.691 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.558e-05/0.008757, allocations: 71.19 kB / 228.1 MB, free: 9.602 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.008789, allocations: 8.5 kB / 228.1 MB, free: 9.59 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.008849, allocations: 71.34 kB / 228.1 MB, free: 9.52 MB / 234.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008849, allocations: 0 / 228.1 MB, free: 9.52 MB / 234.7 MB Notification: Performance of Templates: time 0.002467/0.01132, allocations: 1.155 MB / 229.3 MB, free: 8.375 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.580319936387241]