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.001268/0.001268, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001418/0.001418, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.016 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 47.94 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2739, allocations: 53.36 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003757/0.2777, allocations: 2.026 MB / 433.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.279, allocations: 0.713 MB / 433.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.2791, allocations: 3.938 kB / 433.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.2793, allocations: 15.8 kB / 433.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.469e-05/0.2794, allocations: 47.64 kB / 433.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.2796, allocations: 55.73 kB / 434 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2799, allocations: 151.3 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.28, allocations: 25.28 kB / 434.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2801, allocations: 51.8 kB / 434.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2802, allocations: 55.77 kB / 434.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.2802, allocations: 12 kB / 434.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.2803, allocations: 27.98 kB / 434.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.2804, allocations: 35.78 kB / 434.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.42e-05/0.2804, allocations: 63.73 kB / 434.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2807, allocations: 147.8 kB / 434.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2807, allocations: 0 / 434.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2807, allocations: 0 / 434.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2807, allocations: 0 / 434.5 MB, free: 3.453 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.0006912/0.2814, allocations: 373.6 kB / 434.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2814, allocations: 12.03 kB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.2815, allocations: 38.75 kB / 435 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.2817, allocations: 32.83 kB / 435 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.282, allocations: 142.3 kB / 435.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.282, allocations: 8.375 kB / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.282, allocations: 12.12 kB / 435.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.2823, allocations: 117.6 kB / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2823, allocations: 3.953 kB / 435.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.2823, allocations: 8 kB / 435.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2823, allocations: 7.938 kB / 435.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.2826, allocations: 95.92 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.2835, allocations: 454.5 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.2838, allocations: 122.5 kB / 435.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.284, allocations: 48.83 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.284, allocations: 0 / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.284, allocations: 34.5 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.284, allocations: 4 kB / 436 MB, free: 1.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.285, allocations: 408.2 kB / 436.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.2851, allocations: 51.41 kB / 436.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.2852, allocations: 136.9 kB / 436.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2852, allocations: 29.7 kB / 436.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.2853, allocations: 116.2 kB / 436.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.2853, allocations: 55.5 kB / 436.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.2854, allocations: 41.59 kB / 436.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2856, allocations: 322.8 kB / 437.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.2857, allocations: 47.88 kB / 437.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.2858, allocations: 71.41 kB / 437.3 MB, free: 500 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.2861, allocations: 127.3 kB / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2861, allocations: 0 / 437.4 MB, free: 360 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003496/0.2865, allocations: 169.5 kB / 437.6 MB, free: 184 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2865, allocations: 8 kB / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2865, allocations: 0 / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2865, allocations: 0 / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.2867, allocations: 43.91 kB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2867, allocations: 0 / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2868, allocations: 19.98 kB / 437.6 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2868, allocations: 4 kB / 437.6 MB, free: 108 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.0001219/0.2869, allocations: 121.9 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.287, allocations: 11.89 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.287, allocations: 16.78 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.287, allocations: 0 / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.287, allocations: 7.938 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.287, allocations: 3.984 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007451/0.2878, allocations: 447 kB / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2878, allocations: 0 / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.288, allocations: 35.97 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.288, allocations: 0 / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.288, allocations: 4 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.288, allocations: 0 / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.288, allocations: 3.938 kB / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.2885, allocations: 308.5 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.2886, allocations: 7.953 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.2886, allocations: 4 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.2887, allocations: 12.03 kB / 438.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.2888, allocations: 11.98 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.2888, allocations: 4 kB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.2888, allocations: 105.8 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2888, allocations: 0 / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000264/0.2891, allocations: 35.88 kB / 438.8 MB, free: 14.91 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.0008382/0.2899, allocations: 0.8389 MB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.2903, allocations: 107.9 kB / 439.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.2903, allocations: 4.125 kB / 439.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2904, allocations: 55.91 kB / 439.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.2908, allocations: 27.92 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.2934, allocations: 1.993 MB / 441.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.2937, allocations: 0.708 MB / 442.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.497e-05/0.2938, allocations: 16.64 kB / 442.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.2939, allocations: 31.44 kB / 442.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2939, allocations: 0 / 442.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.326, allocations: 3.218 MB / 445.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.34, allocations: 10.81 kB / 445.8 MB, free: 7.879 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: 13.691156073007733]