Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.001207/0.001207, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001527/0.001527, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.369/1.369, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 63.91 kB / 378.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2497, allocations: 53.41 MB / 432 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003216/0.2529, allocations: 2.026 MB / 434 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.254, allocations: 0.7052 MB / 434.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.2541, allocations: 3.938 kB / 434.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.2542, allocations: 23.73 kB / 434.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.2543, allocations: 43.62 kB / 434.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2545, allocations: 51.86 kB / 434.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.2547, allocations: 147.3 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2548, allocations: 21.3 kB / 435 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.2549, allocations: 63.78 kB / 435 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.538e-05/0.255, allocations: 51.77 kB / 435.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2551, allocations: 12 kB / 435.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.2551, allocations: 27.98 kB / 435.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.2552, allocations: 27.86 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.2552, allocations: 63.67 kB / 435.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.2555, allocations: 155.8 kB / 435.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2555, allocations: 0 / 435.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2555, allocations: 0 / 435.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2555, allocations: 0 / 435.4 MB, free: 3.305 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.000625/0.2561, allocations: 365.7 kB / 435.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2561, allocations: 16.03 kB / 435.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.775e-05/0.2562, allocations: 4.188 kB / 435.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.2562, allocations: 42.73 kB / 435.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.2564, allocations: 32.83 kB / 435.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.2566, allocations: 146.3 kB / 436 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2566, allocations: 8.375 kB / 436 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.2567, allocations: 11.94 kB / 436 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.2569, allocations: 118.3 kB / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2569, allocations: 3.953 kB / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.257, allocations: 7.938 kB / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.257, allocations: 4 kB / 436.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.2572, allocations: 99.84 kB / 436.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008133/0.2581, allocations: 458.5 kB / 436.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2584, allocations: 110.5 kB / 436.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.2585, allocations: 48.88 kB / 436.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.2585, allocations: 0 / 436.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2586, allocations: 46.5 kB / 436.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.2586, allocations: 0 / 436.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001/0.2596, allocations: 401 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2596, allocations: 59.34 kB / 437.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.2597, allocations: 140.9 kB / 437.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2598, allocations: 25.7 kB / 437.5 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.2598, allocations: 112.2 kB / 437.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2599, allocations: 55.56 kB / 437.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.2599, allocations: 29.67 kB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2601, allocations: 330.8 kB / 438 MB, free: 476 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2602, allocations: 47.88 kB / 438 MB, free: 428 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2604, allocations: 74.06 kB / 438.1 MB, free: 344 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.2606, allocations: 122.6 kB / 438.2 MB, free: 212 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2606, allocations: 4 kB / 438.2 MB, free: 208 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003444/0.261, allocations: 169.5 kB / 438.4 MB, free: 32 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.261, allocations: 8 kB / 438.4 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.261, allocations: 3.984 kB / 438.4 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.261, allocations: 0 / 438.4 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.2612, allocations: 44 kB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.2612, allocations: 0 / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.2613, allocations: 8.047 kB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.2613, allocations: 16 kB / 438.5 MB, free: 15.95 MB / 350.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 (18): * Single equations (assignments): 18 * 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 9.906e-05/0.2614, allocations: 117.8 kB / 438.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.2614, allocations: 11.89 kB / 438.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.2615, allocations: 20.77 kB / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2615, allocations: 0 / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2615, allocations: 0 / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2615, allocations: 0 / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007483/0.2622, allocations: 455.7 kB / 439.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2622, allocations: 0 / 439.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2624, allocations: 35.98 kB / 439.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2624, allocations: 0 / 439.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.2625, allocations: 4 kB / 439.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2625, allocations: 0 / 439.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2625, allocations: 4.062 kB / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.263, allocations: 313 kB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.263, allocations: 7.953 kB / 439.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.263, allocations: 4 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2631, allocations: 12 kB / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.2632, allocations: 11.97 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2632, allocations: 0 / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.962e-05/0.2632, allocations: 107.2 kB / 439.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2632, allocations: 3.938 kB / 439.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.2635, allocations: 28 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (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 Backend phase and start with SimCode phase: time 0.0008005/0.2643, allocations: 0.8428 MB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.2646, allocations: 119.4 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2646, allocations: 0 / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.2647, allocations: 59.95 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2651, allocations: 18.75 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.2677, allocations: 1.994 MB / 442.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.2681, allocations: 0.7041 MB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.277e-05/0.2682, allocations: 16.64 kB / 443.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.2683, allocations: 35.42 kB / 443.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2683, allocations: 3.938 kB / 443.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.2932, allocations: 3.243 MB / 446.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.91, allocations: 3.188 kB / 446.6 MB, free: 7.684 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.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.195420903968625]