Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.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.001172/0.001172, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001745/0.002917, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001063/0.001063, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002448, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.948/0.948, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09329/1.041, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.974e-05, allocations: 5.828 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003301/0.003321, allocations: 2.079 MB / 247.1 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.004068, allocations: 0.6854 MB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.004145, allocations: 4 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.159e-05/0.004216, allocations: 31.72 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.004302, allocations: 43.58 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.004434, allocations: 51.84 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.004593, allocations: 143.3 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004708, allocations: 33.88 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.004832, allocations: 91.73 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.004916, allocations: 43.83 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.004936, allocations: 16 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.005031, allocations: 31.97 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.005051, allocations: 15.94 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.005093, allocations: 35.94 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005296, allocations: 103.6 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.707e-05/0.005313, allocations: 0 / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005314, allocations: 0 / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.005332, allocations: 0 / 248.4 MB, free: 10.26 MB / 250.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.0004941/0.005826, allocations: 359.9 kB / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.659e-05/0.005853, allocations: 12.03 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.006017, allocations: 114 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.006148, allocations: 133.6 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.006159, allocations: 8.375 kB / 249 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.006178, allocations: 16.36 kB / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.006306, allocations: 95.55 kB / 249.1 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006317, allocations: 8.078 kB / 249.1 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.006326, allocations: 7.938 kB / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.006331, allocations: 4 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.726e-05/0.006389, allocations: 35.86 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.00679, allocations: 335 kB / 249.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.006934, allocations: 62.53 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.006956, allocations: 20.97 kB / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.006965, allocations: 4 kB / 249.6 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.006982, allocations: 30.56 kB / 249.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.006983, allocations: 4 kB / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001214/0.007105, allocations: 73.61 kB / 249.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.00713, allocations: 51.41 kB / 249.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.007197, allocations: 137.9 kB / 249.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.007209, allocations: 29.7 kB / 249.9 MB, free: 8.598 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.007254, allocations: 112.2 kB / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.007281, allocations: 43.61 kB / 250.1 MB, free: 8.438 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.007312, allocations: 25.7 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.00739, allocations: 322.8 kB / 250.4 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.007407, allocations: 12 kB / 250.4 MB, free: 8.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.007442, allocations: 43.41 kB / 250.5 MB, free: 8.016 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.942e-05/0.007502, allocations: 59.34 kB / 250.5 MB, free: 7.945 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.007505, allocations: 4 kB / 250.5 MB, free: 7.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.645e-05/0.007592, allocations: 81.48 kB / 250.6 MB, free: 7.855 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.007606, allocations: 7.984 kB / 250.6 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.007611, allocations: 0 / 250.6 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.00762, allocations: 4 kB / 250.6 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.007759, allocations: 44.02 kB / 250.6 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.007762, allocations: 0 / 250.6 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.007797, allocations: 7.938 kB / 250.7 MB, free: 7.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.007803, allocations: 4 kB / 250.7 MB, free: 7.789 MB / 250.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 6.232e-05/0.007865, allocations: 121.8 kB / 250.8 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.007883, allocations: 8 kB / 250.8 MB, free: 7.652 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.007912, allocations: 20.7 kB / 250.8 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007914, allocations: 0 / 250.8 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.007917, allocations: 3.938 kB / 250.8 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.00792, allocations: 0 / 250.8 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.008029, allocations: 101.8 kB / 250.9 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.00803, allocations: 0 / 250.9 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.873e-05/0.008129, allocations: 35.97 kB / 250.9 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.008138, allocations: 3.953 kB / 250.9 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.00814, allocations: 4 kB / 251 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.008151, allocations: 4 kB / 251 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.008153, allocations: 3.938 kB / 251 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.008154, allocations: 0 / 251 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.008303, allocations: 179.4 kB / 251.1 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.008315, allocations: 0 / 251.1 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.008356, allocations: 8 kB / 251.1 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.008381, allocations: 11.92 kB / 251.2 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.008385, allocations: 4 kB / 251.2 MB, free: 7.246 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.969e-05/0.008405, allocations: 32.75 kB / 251.2 MB, free: 7.211 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008405, allocations: 0 / 251.2 MB, free: 7.211 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001319/0.008537, allocations: 35.89 kB / 251.2 MB, free: 7.176 MB / 250.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 6.623e-05/0.008603, allocations: 72.42 kB / 251.3 MB, free: 7.098 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.008679, allocations: 48.78 kB / 251.3 MB, free: 7.047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.008684, allocations: 192 / 251.3 MB, free: 7.047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.00871, allocations: 33.25 kB / 251.4 MB, free: 7.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.008865, allocations: 35.27 kB / 251.4 MB, free: 6.984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.01087, allocations: 352.7 kB / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.01091, allocations: 67.33 kB / 251.8 MB, free: 6.527 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.161e-05/0.01095, allocations: 12.5 kB / 251.8 MB, free: 6.516 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.01102, allocations: 67.36 kB / 251.9 MB, free: 6.449 MB / 250.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01102, allocations: 0 / 251.9 MB, free: 6.449 MB / 250.7 MB Notification: Performance of Templates: time 0.002833/0.01385, allocations: 1.395 MB / 253.3 MB, free: 5.082 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.4480767995119095]