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.00185/0.00185, allocations: 114 kB / 20.44 MB, free: 1.469 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.0026/0.0026, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.385/1.385, allocations: 230.5 MB / 257.4 MB, free: 8.035 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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 59.89 kB / 377.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2529, allocations: 53.41 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003311/0.2562, allocations: 2.006 MB / 433.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2573, allocations: 0.709 MB / 433.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.376e-05/0.2574, allocations: 7.938 kB / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.2575, allocations: 15.8 kB / 433.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.797e-05/0.2576, allocations: 47.62 kB / 434 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.2579, allocations: 47.88 kB / 434 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.2581, allocations: 143.3 kB / 434.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2582, allocations: 29.3 kB / 434.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2583, allocations: 59.72 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.2584, allocations: 47.78 kB / 434.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2585, allocations: 12 kB / 434.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.2585, allocations: 27.98 kB / 434.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.2586, allocations: 27.92 kB / 434.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.2586, allocations: 63.66 kB / 434.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2589, allocations: 151.8 kB / 434.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2589, allocations: 3.938 kB / 434.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2589, allocations: 0 / 434.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2589, allocations: 0 / 434.6 MB, free: 3.312 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.0006649/0.2596, allocations: 369.6 kB / 434.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2596, allocations: 8.031 kB / 434.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.2596, allocations: 46.75 kB / 435 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.2598, allocations: 24.88 kB / 435 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.2601, allocations: 149.5 kB / 435.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2601, allocations: 4.375 kB / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.2601, allocations: 16.12 kB / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.2604, allocations: 114.3 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2604, allocations: 0 / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2604, allocations: 4 kB / 435.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2604, allocations: 4 kB / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.2607, allocations: 95.86 kB / 435.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.2616, allocations: 470.4 kB / 435.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.2619, allocations: 102.5 kB / 435.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2621, allocations: 40.81 kB / 436 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2621, allocations: 4 kB / 436 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2621, allocations: 34.5 kB / 436 MB, free: 1.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.2621, allocations: 4 kB / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004257/0.2625, allocations: 149.7 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.2626, allocations: 51.41 kB / 436.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2627, allocations: 136.3 kB / 436.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.2627, allocations: 25.7 kB / 436.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.2628, allocations: 116.2 kB / 436.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.2628, allocations: 47.62 kB / 436.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2629, allocations: 21.72 kB / 436.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.263, allocations: 322.8 kB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2631, allocations: 35.97 kB / 436.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2633, allocations: 63.41 kB / 437 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.2635, allocations: 119.2 kB / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2635, allocations: 0 / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003055/0.2638, allocations: 153.5 kB / 437.2 MB, free: 428 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2638, allocations: 4 kB / 437.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2638, allocations: 4 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2639, allocations: 4 kB / 437.2 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.264, allocations: 31.92 kB / 437.3 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.264, allocations: 0 / 437.3 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.2641, allocations: 15.98 kB / 437.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2641, allocations: 4 kB / 437.3 MB, free: 364 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.0001004/0.2642, allocations: 125.8 kB / 437.4 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.2642, allocations: 7.953 kB / 437.4 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.2643, allocations: 20.7 kB / 437.4 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2643, allocations: 3.938 kB / 437.4 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2643, allocations: 0 / 437.4 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2643, allocations: 3.984 kB / 437.5 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.2645, allocations: 192.6 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2645, allocations: 7.875 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2647, allocations: 23.98 kB / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2647, allocations: 0 / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2647, allocations: 8 kB / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2647, allocations: 384 / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2647, allocations: 0 / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.2652, allocations: 263.2 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.2652, allocations: 11.95 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.2652, allocations: 8 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2653, allocations: 8 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.2653, allocations: 4.031 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.2654, allocations: 4 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.2654, allocations: 105.8 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2654, allocations: 0 / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.2657, allocations: 31.95 kB / 438.1 MB, free: 15.47 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.0007092/0.2664, allocations: 0.7943 MB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.2666, allocations: 91.83 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2666, allocations: 0 / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2668, allocations: 44.16 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2671, allocations: 16.36 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.2693, allocations: 1.889 MB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2697, allocations: 0.708 MB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.2697, allocations: 16.34 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.2698, allocations: 27.44 kB / 441.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2698, allocations: 4 kB / 441.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.3005, allocations: 2.899 MB / 444.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.99, allocations: 2.5 kB / 444.6 MB, free: 8.957 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] 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: 13.275587369920686]