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.001216/0.001216, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001333/0.001333, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.372/1.372, allocations: 230.5 MB / 258.2 MB, free: 7.816 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.001792/0.001792, allocations: 63.91 kB / 378.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2314, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003342/0.2348, allocations: 1.948 MB / 433.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2358, allocations: 0.639 MB / 434.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.2359, allocations: 3.938 kB / 434.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.236, allocations: 27.73 kB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.2361, allocations: 35.64 kB / 434.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.2364, allocations: 63.78 kB / 434.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.2366, allocations: 143.3 kB / 434.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2368, allocations: 27.41 kB / 434.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.934e-05/0.2369, allocations: 55.84 kB / 434.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.237, allocations: 67.69 kB / 434.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.237, allocations: 8 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.2371, allocations: 24 kB / 434.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.2371, allocations: 31.84 kB / 435 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.2372, allocations: 47.73 kB / 435 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.2374, allocations: 151.4 kB / 435.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2374, allocations: 0 / 435.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2374, allocations: 0 / 435.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.2374, allocations: 0 / 435.2 MB, free: 3.207 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.0006856/0.2381, allocations: 373.7 kB / 435.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2382, allocations: 12.03 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.233e-05/0.2382, allocations: 4.125 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.2382, allocations: 46.73 kB / 435.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.2384, allocations: 28.83 kB / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2386, allocations: 144.8 kB / 435.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2386, allocations: 12.38 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.2387, allocations: 15.94 kB / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.2389, allocations: 114.3 kB / 435.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.239, allocations: 3.953 kB / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.239, allocations: 4 kB / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.239, allocations: 4 kB / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.2392, allocations: 103.8 kB / 436 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/0.24, allocations: 442.6 kB / 436.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.2404, allocations: 110.5 kB / 436.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.2405, allocations: 44.83 kB / 436.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2405, allocations: 4 kB / 436.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2406, allocations: 38.5 kB / 436.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.2406, allocations: 0 / 436.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001005/0.2416, allocations: 405.6 kB / 437 MB, free: 1.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2416, allocations: 55.41 kB / 437.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2417, allocations: 141 kB / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.2418, allocations: 25.7 kB / 437.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.2418, allocations: 112.2 kB / 437.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.2419, allocations: 55.53 kB / 437.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.2419, allocations: 37.61 kB / 437.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2421, allocations: 326.8 kB / 437.8 MB, free: 392 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.2422, allocations: 47.91 kB / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.2423, allocations: 67.41 kB / 437.9 MB, free: 264 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.2426, allocations: 123.3 kB / 438 MB, free: 128 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2426, allocations: 0 / 438 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003453/0.243, allocations: 172.7 kB / 438.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.243, allocations: 4 kB / 438.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.243, allocations: 4 kB / 438.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.243, allocations: 3.984 kB / 438.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.2432, allocations: 39.92 kB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2432, allocations: 4 kB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.2433, allocations: 7.984 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2433, allocations: 12.06 kB / 438.2 MB, free: 15.88 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 0.0001022/0.2434, allocations: 129.7 kB / 438.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.2434, allocations: 15.84 kB / 438.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.2435, allocations: 16.78 kB / 438.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2435, allocations: 0 / 438.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2435, allocations: 0 / 438.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2435, allocations: 3.984 kB / 438.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.2442, allocations: 431.3 kB / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2442, allocations: 0 / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2444, allocations: 39.97 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2444, allocations: 0 / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2444, allocations: 8 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2444, allocations: 3.938 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2444, allocations: 0 / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.2449, allocations: 313.1 kB / 439.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.2449, allocations: 7.953 kB / 439.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.2449, allocations: 4 kB / 439.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.2451, allocations: 12.03 kB / 439.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.2451, allocations: 7.984 kB / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.2451, allocations: 4 kB / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.077e-05/0.2452, allocations: 111.2 kB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2452, allocations: 0 / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.2454, allocations: 31.94 kB / 439.3 MB, free: 14.68 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.0007954/0.2462, allocations: 0.8312 MB / 440.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.2465, allocations: 111.9 kB / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2465, allocations: 0 / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.2467, allocations: 56.16 kB / 440.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.247, allocations: 23.92 kB / 440.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.2494, allocations: 1.992 MB / 442.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.819e-05/0.2495, allocations: 98.27 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.911e-05/0.2496, allocations: 12.66 kB / 442.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.2497, allocations: 39.42 kB / 442.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2497, allocations: 4 kB / 442.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.2752, allocations: 3.305 MB / 445.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.11, allocations: 18.7 kB / 445.8 MB, free: 8.172 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.371348196989857]