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.00137/0.00137, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001499/0.001499, allocations: 217.5 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.546/1.546, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002153/0.002153, allocations: 63.89 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2805, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003709/0.2842, allocations: 2.018 MB / 434.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2855, allocations: 0.7013 MB / 435.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2856, allocations: 3.938 kB / 435.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.2858, allocations: 19.8 kB / 435.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.806e-05/0.2859, allocations: 39.64 kB / 435.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.2862, allocations: 55.78 kB / 435.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.2864, allocations: 147.3 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2865, allocations: 25.23 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2866, allocations: 55.78 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.2867, allocations: 59.77 kB / 435.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2868, allocations: 8 kB / 435.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-05/0.2868, allocations: 31.98 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.2869, allocations: 19.92 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.2869, allocations: 63.67 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.2872, allocations: 156.6 kB / 435.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2873, allocations: 3.938 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2873, allocations: 0 / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2873, allocations: 0 / 435.8 MB, free: 3.355 MB / 334.1 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.0007345/0.288, allocations: 357.7 kB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.288, allocations: 12.03 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.2882, allocations: 28.86 kB / 436.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.2885, allocations: 146.2 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2885, allocations: 8.375 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.2886, allocations: 16.36 kB / 436.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2889, allocations: 114.2 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2889, allocations: 3.984 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2889, allocations: 4 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2889, allocations: 4 kB / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.2892, allocations: 87.92 kB / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.2902, allocations: 474.4 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.2905, allocations: 98.5 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.2906, allocations: 44.88 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2907, allocations: 7.938 kB / 437.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2907, allocations: 34.56 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2907, allocations: 0 / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004776/0.2912, allocations: 145.9 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.2912, allocations: 51.5 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.2913, allocations: 137.8 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2914, allocations: 29.7 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.2915, allocations: 112.2 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.2915, allocations: 39.62 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.2916, allocations: 29.7 kB / 437.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2917, allocations: 318.8 kB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.2918, allocations: 35.97 kB / 438.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.292, allocations: 71.03 kB / 438.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.2922, allocations: 111.3 kB / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2922, allocations: 0 / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003207/0.2926, allocations: 149.4 kB / 438.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2926, allocations: 10.19 kB / 438.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2926, allocations: 0 / 438.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2926, allocations: 0 / 438.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2928, allocations: 39.92 kB / 438.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2928, allocations: 0 / 438.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.645e-05/0.2929, allocations: 15.92 kB / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2929, allocations: 96 / 438.5 MB, free: 476 kB / 334.1 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.0001196/0.293, allocations: 129.8 kB / 438.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.293, allocations: 11.89 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.2931, allocations: 20.7 kB / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2931, allocations: 0 / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2931, allocations: 0 / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2931, allocations: 3.938 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.2933, allocations: 188.6 kB / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2934, allocations: 7.938 kB / 438.9 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2936, allocations: 31.98 kB / 438.9 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2936, allocations: 0 / 438.9 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2936, allocations: 4 kB / 438.9 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2936, allocations: 0 / 438.9 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2936, allocations: 0 / 438.9 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.2941, allocations: 263.3 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.2942, allocations: 19.89 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2942, allocations: 0 / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.2943, allocations: 8.125 kB / 439.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.2944, allocations: 11.94 kB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.2944, allocations: 3.984 kB / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.448e-05/0.2945, allocations: 103.3 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2945, allocations: 0 / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000278/0.2947, allocations: 27.95 kB / 439.3 MB, free: 15.57 MB / 350.1 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.0001279/0.2949, allocations: 99.34 kB / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.2952, allocations: 91.81 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2952, allocations: 0 / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.2953, allocations: 39.97 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.2957, allocations: 26.88 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009472/0.2966, allocations: 498.4 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.297, allocations: 0.7041 MB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.297, allocations: 19.44 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.297, allocations: 0 / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Templates: time 0.003737/0.3008, allocations: 1.577 MB / 442.4 MB, free: 12.48 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.348326986888424]