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.0008708/0.0008708, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.000914/0.000914, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9485/0.9485, allocations: 177 MB / 205.2 MB, free: 5.043 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.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.363e-06/1.363e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.92e-05, allocations: 5.266 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003526/0.003545, allocations: 2.02 MB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.00463, allocations: 0.6933 MB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.004711, allocations: 3.938 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.004822, allocations: 15.86 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.004915, allocations: 47.58 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.005136, allocations: 59.73 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.005317, allocations: 151.2 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.005414, allocations: 21.95 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.005536, allocations: 83.78 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.683e-05/0.005623, allocations: 39.89 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.005645, allocations: 12 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.005718, allocations: 27.98 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.005746, allocations: 23.92 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.005794, allocations: 43.91 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.006, allocations: 123.5 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.006001, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006002, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.006005, allocations: 0 / 276.7 MB, free: 13.7 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.0004307/0.006436, allocations: 336.3 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.006468, allocations: 11.98 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.006633, allocations: 32.91 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.006791, allocations: 145.5 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.006802, allocations: 4.375 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.006827, allocations: 12.38 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.006982, allocations: 102.8 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.006994, allocations: 4.141 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.007007, allocations: 7.938 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.007013, allocations: 3.984 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.007095, allocations: 35.92 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.007651, allocations: 323 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.007823, allocations: 62.53 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.007858, allocations: 16.86 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.007868, allocations: 4 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.007893, allocations: 34.56 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.007894, allocations: 0 / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001665/0.00806, allocations: 74.02 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.008096, allocations: 59.41 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.008193, allocations: 138.6 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.008209, allocations: 29.7 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.008267, allocations: 104.2 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.008299, allocations: 39.67 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.008349, allocations: 33.62 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.008459, allocations: 322.8 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.008485, allocations: 11.98 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.008538, allocations: 47.22 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/0.008625, allocations: 63.3 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.008628, allocations: 0 / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000127/0.008755, allocations: 81.59 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008767, allocations: 7.125 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008772, allocations: 0 / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.008787, allocations: 4 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.008898, allocations: 31.92 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.008903, allocations: 3.938 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.00896, allocations: 12.03 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.00897, allocations: 8 kB / 278.9 MB, free: 11.35 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 8.353e-05/0.009053, allocations: 113.8 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.009084, allocations: 8 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.009116, allocations: 20.77 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.009117, allocations: 3.938 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.009119, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.009124, allocations: 3.938 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.009285, allocations: 93.81 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009286, allocations: 0 / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.009397, allocations: 31.92 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009399, allocations: 0 / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.009411, allocations: 8 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.009412, allocations: 0 / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.009414, allocations: 3.984 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.009595, allocations: 179.4 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.009608, allocations: 11.88 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.009625, allocations: 4 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.009699, allocations: 0 / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.009746, allocations: 11.98 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.00975, allocations: 4 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.191e-05/0.009782, allocations: 24.83 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009782, allocations: 0 / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.01004, allocations: 31.95 kB / 279.4 MB, free: 10.76 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 8.392e-05/0.01013, allocations: 80.36 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.01023, allocations: 56.7 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.01024, allocations: 0 / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.01027, allocations: 20.86 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.01051, allocations: 28.2 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.01134, allocations: 356.1 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.01139, allocations: 71.34 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.01144, allocations: 8.484 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.01153, allocations: 67.36 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01153, allocations: 4 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Templates: time 0.003559/0.01509, allocations: 1.265 MB / 281.4 MB, free: 8.785 MB / 266.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 -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.5489413351751864]