Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001271/0.001271, allocations: 115.9 kB / 18.45 MB, free: 4.586 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.001266/0.001266, allocations: 190.9 kB / 21.39 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 207.6 MB / 231.8 MB, free: 4.059 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 55.92 kB / 342.2 MB, free: 10.16 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.09566, allocations: 49.13 MB / 391.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003136/0.0988, allocations: 1.781 MB / 393.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.09991, allocations: 0.6901 MB / 393.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.09999, allocations: 7.938 kB / 393.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1001, allocations: 11.86 kB / 393.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.1002, allocations: 39.64 kB / 393.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1004, allocations: 51.86 kB / 393.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1006, allocations: 119.4 kB / 394.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1007, allocations: 21.38 kB / 394.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.1008, allocations: 47.8 kB / 394.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.1009, allocations: 47.78 kB / 394.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1009, allocations: 8 kB / 394.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.101, allocations: 27.98 kB / 394.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.101, allocations: 23.91 kB / 394.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.1011, allocations: 47.73 kB / 394.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1013, allocations: 135.5 kB / 394.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1013, allocations: 0 / 394.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1013, allocations: 3.938 kB / 394.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1013, allocations: 4 kB / 394.4 MB, free: 5.785 MB / 318.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.0006346/0.102, allocations: 411.1 kB / 394.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.102, allocations: 12.03 kB / 394.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.1021, allocations: 38.73 kB / 394.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.1022, allocations: 28.88 kB / 394.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1025, allocations: 204.2 kB / 395.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1026, allocations: 4.562 kB / 395.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.1026, allocations: 16.08 kB / 395.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1028, allocations: 93.59 kB / 395.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1028, allocations: 4 kB / 395.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1028, allocations: 0 / 395.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1028, allocations: 4 kB / 395.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.103, allocations: 67.89 kB / 395.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.1037, allocations: 451.7 kB / 395.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.1039, allocations: 94.64 kB / 395.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.104, allocations: 28.84 kB / 395.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.104, allocations: 4 kB / 395.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.104, allocations: 38.5 kB / 395.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.104, allocations: 0 / 395.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001307/0.1053, allocations: 0.5305 MB / 396.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1054, allocations: 51.41 kB / 396.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1055, allocations: 126 kB / 396.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1055, allocations: 29.7 kB / 396.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1056, allocations: 107.9 kB / 396.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.1056, allocations: 51.59 kB / 396.8 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.1057, allocations: 29.72 kB / 396.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1058, allocations: 322.8 kB / 397.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.1059, allocations: 23.98 kB / 397.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.477e-05/0.106, allocations: 59.33 kB / 397.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1061, allocations: 104.2 kB / 397.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1061, allocations: 0 / 397.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002049/0.1063, allocations: 133.4 kB / 397.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1063, allocations: 8 kB / 397.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1063, allocations: 0 / 397.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1063, allocations: 0 / 397.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.1065, allocations: 31.98 kB / 397.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1065, allocations: 3.938 kB / 397.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.1065, allocations: 8 kB / 397.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1066, allocations: 8.062 kB / 397.5 MB, free: 2.383 MB / 318.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 0.0001035/0.1067, allocations: 121.8 kB / 397.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1067, allocations: 7.953 kB / 397.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.1067, allocations: 16.36 kB / 397.6 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1067, allocations: 4 kB / 397.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.1067, allocations: 7.938 kB / 397.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1068, allocations: 0 / 397.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.1073, allocations: 424.1 kB / 398.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1073, allocations: 0 / 398.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1075, allocations: 27.98 kB / 398.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1075, allocations: 3.938 kB / 398.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1075, allocations: 8 kB / 398.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1075, allocations: 0 / 398.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1075, allocations: 0 / 398.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.1078, allocations: 261.1 kB / 398.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.1079, allocations: 89.14 kB / 398.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1079, allocations: 0 / 398.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.108, allocations: 8 kB / 398.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.108, allocations: 12.02 kB / 398.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.108, allocations: 96 / 398.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.1081, allocations: 103.2 kB / 398.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1081, allocations: 4 kB / 398.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1083, allocations: 20 kB / 398.6 MB, free: 1.176 MB / 318.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.0005915/0.1089, allocations: 0.7881 MB / 399.4 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1091, allocations: 79.89 kB / 399.5 MB, free: 284 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1091, allocations: 0 / 399.5 MB, free: 284 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.1092, allocations: 35.94 kB / 399.5 MB, free: 248 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1095, allocations: 19.98 kB / 399.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1115, allocations: 1.817 MB / 401.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1118, allocations: 0.7078 MB / 402 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.758e-05/0.1119, allocations: 8.891 kB / 402 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.112, allocations: 27.42 kB / 402.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.112, allocations: 4 kB / 402.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.1382, allocations: 2.608 MB / 404.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/7.959, allocations: 7.938 kB / 404.7 MB, free: 10.86 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.519824167713523]