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.001553/0.001553, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001526/0.001526, allocations: 181.7 kB / 23.72 MB, free: 4.699 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.37/1.37, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 47.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.251, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003065/0.2541, allocations: 1.809 MB / 424.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2552, allocations: 0.6388 MB / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.2553, allocations: 4 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2554, allocations: 11.86 kB / 425.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.2555, allocations: 39.64 kB / 425.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.2557, allocations: 51.88 kB / 425.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.2559, allocations: 119.4 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.256, allocations: 29.56 kB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.878e-05/0.2561, allocations: 47.8 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2562, allocations: 43.78 kB / 425.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.2562, allocations: 8 kB / 425.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.2563, allocations: 27.98 kB / 425.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.2563, allocations: 27.91 kB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.2564, allocations: 43.81 kB / 425.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.2566, allocations: 127.9 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2566, allocations: 8 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2566, allocations: 0 / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2566, allocations: 4 kB / 425.6 MB, free: 11.54 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.0005594/0.2571, allocations: 334 kB / 426 MB, free: 11.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2572, allocations: 8.031 kB / 426 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.2572, allocations: 42.75 kB / 426 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.2574, allocations: 36.75 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.2576, allocations: 130.4 kB / 426.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2576, allocations: 12.56 kB / 426.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.2577, allocations: 16.12 kB / 426.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.2579, allocations: 91.66 kB / 426.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2579, allocations: 7.922 kB / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2579, allocations: 4 kB / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2579, allocations: 4 kB / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.258, allocations: 63.91 kB / 426.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.2587, allocations: 414.8 kB / 426.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.259, allocations: 94.64 kB / 426.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.2591, allocations: 32.8 kB / 426.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.2591, allocations: 4 kB / 426.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2591, allocations: 34.55 kB / 426.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.2591, allocations: 4 kB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001252/0.2603, allocations: 393 kB / 427.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2604, allocations: 51.41 kB / 427.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2605, allocations: 126 kB / 427.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.2605, allocations: 33.7 kB / 427.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.2606, allocations: 99.98 kB / 427.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.2606, allocations: 47.59 kB / 427.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.2607, allocations: 33.64 kB / 427.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2608, allocations: 322.8 kB / 428 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.2609, allocations: 31.98 kB / 428.1 MB, free: 8.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.261, allocations: 58.7 kB / 428.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2611, allocations: 91.38 kB / 428.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2611, allocations: 0 / 428.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002096/0.2613, allocations: 137.5 kB / 428.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2613, allocations: 4 kB / 428.3 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2613, allocations: 4 kB / 428.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2614, allocations: 4 kB / 428.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2615, allocations: 27.98 kB / 428.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2615, allocations: 11.88 kB / 428.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.2616, allocations: 7.984 kB / 428.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2616, allocations: 7.938 kB / 428.4 MB, free: 8.52 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 9.568e-05/0.2617, allocations: 121.8 kB / 428.5 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2617, allocations: 12.02 kB / 428.5 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.2617, allocations: 16.38 kB / 428.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2617, allocations: 0 / 428.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2617, allocations: 3.938 kB / 428.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2617, allocations: 0 / 428.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.2623, allocations: 399.1 kB / 428.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2623, allocations: 12.05 kB / 429 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.2624, allocations: 20 kB / 429 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2625, allocations: 7.938 kB / 429 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2625, allocations: 7.984 kB / 429 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2625, allocations: 0 / 429 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2625, allocations: 7.938 kB / 429 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.2628, allocations: 249.4 kB / 429.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.2628, allocations: 7.891 kB / 429.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.2628, allocations: 8.031 kB / 429.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.2629, allocations: 4 kB / 429.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.2629, allocations: 7.984 kB / 429.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2629, allocations: 4 kB / 429.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.263, allocations: 102 kB / 429.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.263, allocations: 0 / 429.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.2633, allocations: 28 kB / 429.4 MB, free: 7.441 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.0005959/0.2639, allocations: 0.7844 MB / 430.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.264, allocations: 80.02 kB / 430.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.264, allocations: 4.125 kB / 430.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.2641, allocations: 43.92 kB / 430.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2644, allocations: 15.98 kB / 430.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.2665, allocations: 1.822 MB / 432.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2668, allocations: 0.7117 MB / 432.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.2669, allocations: 12.97 kB / 432.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.267, allocations: 31.42 kB / 432.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.267, allocations: 0 / 432.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.2966, allocations: 2.765 MB / 435.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.86, allocations: 10.58 kB / 435.7 MB, free: 1.137 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.08937613107264]