Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 107.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 212.5 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.355/1.355, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 47.92 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2242, allocations: 53.36 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003373/0.2276, allocations: 1.948 MB / 433.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2287, allocations: 0.6429 MB / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.2288, allocations: 0 / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2289, allocations: 23.8 kB / 434.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/0.229, allocations: 39.62 kB / 434.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.2292, allocations: 55.81 kB / 434.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.2294, allocations: 147.3 kB / 434.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2295, allocations: 31.39 kB / 434.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.2296, allocations: 55.73 kB / 434.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.2297, allocations: 59.77 kB / 434.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.2298, allocations: 8 kB / 434.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.2298, allocations: 27.98 kB / 434.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.2299, allocations: 27.91 kB / 434.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.2299, allocations: 47.73 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.2302, allocations: 155.4 kB / 435.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2302, allocations: 4 kB / 435.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2302, allocations: 3.938 kB / 435.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2302, allocations: 0 / 435.1 MB, free: 3.363 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.0006476/0.2308, allocations: 377.6 kB / 435.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2309, allocations: 8.031 kB / 435.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.353e-05/0.2309, allocations: 4.188 kB / 435.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.2309, allocations: 38.75 kB / 435.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.2311, allocations: 36.81 kB / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.2313, allocations: 134.4 kB / 435.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2313, allocations: 8.375 kB / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.2314, allocations: 23.86 kB / 435.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.2316, allocations: 109.6 kB / 435.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2316, allocations: 3.953 kB / 435.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2317, allocations: 8 kB / 435.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2317, allocations: 3.984 kB / 435.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.2319, allocations: 95.94 kB / 435.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.2327, allocations: 434.5 kB / 436.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.2331, allocations: 118.5 kB / 436.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.2332, allocations: 44.88 kB / 436.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.2332, allocations: 4 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2332, allocations: 38.5 kB / 436.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.885e-06/0.2332, allocations: 3.984 kB / 436.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009468/0.2342, allocations: 409.3 kB / 437 MB, free: 1.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2342, allocations: 55.41 kB / 437 MB, free: 1.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2343, allocations: 140.4 kB / 437.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.2343, allocations: 25.7 kB / 437.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.2344, allocations: 116.2 kB / 437.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.2345, allocations: 59.52 kB / 437.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.2345, allocations: 29.62 kB / 437.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2346, allocations: 326.8 kB / 437.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.2348, allocations: 39.97 kB / 437.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2349, allocations: 78.2 kB / 437.8 MB, free: 428 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.2352, allocations: 129.7 kB / 438 MB, free: 288 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2352, allocations: 0 / 438 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003374/0.2355, allocations: 173.4 kB / 438.1 MB, free: 108 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2355, allocations: 4 kB / 438.1 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2355, allocations: 0 / 438.1 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2355, allocations: 4 kB / 438.1 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.2357, allocations: 40.05 kB / 438.2 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.2357, allocations: 4 kB / 438.2 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.2358, allocations: 11.92 kB / 438.2 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.2358, allocations: 7.938 kB / 438.2 MB, free: 36 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 (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.0001078/0.2359, allocations: 117.8 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.236, allocations: 23.84 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.236, allocations: 20.77 kB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.236, allocations: 4 kB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.236, allocations: 0 / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.236, allocations: 4 kB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/0.2367, allocations: 427.1 kB / 438.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2367, allocations: 3.938 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.2369, allocations: 39.97 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2369, allocations: 0 / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2369, allocations: 0 / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2369, allocations: 4 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2369, allocations: 4.062 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.2374, allocations: 307.2 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.2374, allocations: 7.953 kB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.2375, allocations: 8.031 kB / 439.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2376, allocations: 8 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.2376, allocations: 7.984 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2376, allocations: 7.984 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.926e-05/0.2377, allocations: 110 kB / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2377, allocations: 0 / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.2379, allocations: 32 kB / 439.3 MB, free: 14.84 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.0007773/0.2387, allocations: 0.8334 MB / 440.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.239, allocations: 112 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.239, allocations: 0 / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2392, allocations: 59.84 kB / 440.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2395, allocations: 16.31 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.2419, allocations: 1.996 MB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.2419, allocations: 94.27 kB / 442.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.437e-05/0.242, allocations: 20.58 kB / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.2421, allocations: 35.42 kB / 442.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2421, allocations: 3.938 kB / 442.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.2655, allocations: 3.309 MB / 445.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.7, allocations: 8.047 kB / 445.8 MB, free: 8.367 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 12.936445418046787]