Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 190.7 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 47.92 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2148, allocations: 52.18 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002921/0.2177, allocations: 1.735 MB / 425.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.2186, allocations: 0.5843 MB / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.2187, allocations: 0 / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2188, allocations: 15.86 kB / 425.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.2189, allocations: 43.62 kB / 425.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.2191, allocations: 51.81 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.2193, allocations: 119.4 kB / 425.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2194, allocations: 29.36 kB / 425.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.2194, allocations: 51.84 kB / 426 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.2195, allocations: 43.78 kB / 426 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.2196, allocations: 8 kB / 426 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.2196, allocations: 27.98 kB / 426 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.2197, allocations: 15.92 kB / 426.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.537e-05/0.2197, allocations: 55.72 kB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2199, allocations: 125.8 kB / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2199, allocations: 0 / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2199, allocations: 0 / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.2199, allocations: 4 kB / 426.2 MB, free: 11.49 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005187/0.2205, allocations: 337.1 kB / 426.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2205, allocations: 12.03 kB / 426.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.093e-05/0.2205, allocations: 4.359 kB / 426.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.2206, allocations: 46.73 kB / 426.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.2207, allocations: 28.83 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.2209, allocations: 138.3 kB / 426.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2209, allocations: 12.31 kB / 426.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.221, allocations: 12 kB / 426.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.2211, allocations: 91.53 kB / 426.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2212, allocations: 0 / 426.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2212, allocations: 4 kB / 426.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2212, allocations: 4 kB / 426.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.2213, allocations: 59.91 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.2219, allocations: 398.8 kB / 427.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.2222, allocations: 106.6 kB / 427.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.2223, allocations: 40.78 kB / 427.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2223, allocations: 224 / 427.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2223, allocations: 38.5 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.2223, allocations: 0 / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00121/0.2235, allocations: 392.8 kB / 427.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2235, allocations: 59.33 kB / 428 MB, free: 9.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.2236, allocations: 118.1 kB / 428.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2237, allocations: 29.7 kB / 428.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.2237, allocations: 111.9 kB / 428.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.2238, allocations: 39.64 kB / 428.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.2238, allocations: 29.72 kB / 428.3 MB, free: 9.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2239, allocations: 326.8 kB / 428.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.224, allocations: 27.98 kB / 428.7 MB, free: 8.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.2241, allocations: 59.36 kB / 428.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2242, allocations: 95.36 kB / 428.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2242, allocations: 0 / 428.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001924/0.2244, allocations: 130.4 kB / 428.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2244, allocations: 8 kB / 428.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2244, allocations: 0 / 428.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2244, allocations: 64 / 428.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.2246, allocations: 47.86 kB / 429 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2246, allocations: 0 / 429 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.2246, allocations: 4 kB / 429 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2246, allocations: 4 kB / 429 MB, free: 8.488 MB / 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 (17): * Single equations (assignments): 17 * 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 8.856e-05/0.2247, allocations: 121.8 kB / 429.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.2247, allocations: 7.953 kB / 429.1 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.2248, allocations: 16.36 kB / 429.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2248, allocations: 7.938 kB / 429.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2248, allocations: 0 / 429.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2248, allocations: 0 / 429.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.2253, allocations: 391.2 kB / 429.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2253, allocations: 3.938 kB / 429.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.2255, allocations: 31.92 kB / 429.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2255, allocations: 0 / 429.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.2255, allocations: 8 kB / 429.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2255, allocations: 0 / 429.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2255, allocations: 0 / 429.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.2258, allocations: 249.1 kB / 429.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.2258, allocations: 16.05 kB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.2259, allocations: 7.938 kB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.2259, allocations: 0 / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.226, allocations: 11.97 kB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.226, allocations: 8 kB / 429.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.499e-05/0.226, allocations: 102.9 kB / 430 MB, free: 7.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.226, allocations: 0 / 430 MB, free: 7.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.2263, allocations: 24 kB / 430 MB, free: 7.418 MB / 334.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 (12): * Single equations (assignments): 12 * 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.0005656/0.2269, allocations: 0.7962 MB / 430.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.227, allocations: 84.03 kB / 430.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.227, allocations: 0 / 430.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.2271, allocations: 43.92 kB / 430.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2274, allocations: 19.27 kB / 430.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.2293, allocations: 1.81 MB / 432.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.156e-05/0.2294, allocations: 96.08 kB / 432.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.443e-05/0.2295, allocations: 12.97 kB / 432.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.2295, allocations: 27.44 kB / 432.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2295, allocations: 3.938 kB / 432.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.2528, allocations: 2.861 MB / 435.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.79, allocations: 240 / 435.7 MB, free: 1.668 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.015243834001012]