Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.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.0007816/0.0007816, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008347/0.0008347, allocations: 222.3 kB / 22.25 MB, free: 3.559 MB / 13.93 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 0.9055/0.9055, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.006221/0.006221, allocations: 1.611 MB / 314 MB, free: 440 kB / 234.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) 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(ElectricBraking.Examples.Translational.EddyCurrentBraking,fileNamePrefix="ElectricBraking_ElectricBraking_Examples_Translational_EddyCurrentBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricBraking.Examples.Translational.EddyCurrentBraking,fileNamePrefix="ElectricBraking_ElectricBraking_Examples_Translational_EddyCurrentBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ElectricBraking requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009216/0.0009216, allocations: 75.19 kB / 436.6 MB, free: 46.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06782/0.06874, allocations: 53.77 MB / 490.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002474/0.07122, allocations: 2.183 MB / 492.6 MB, free: 8.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.07205, allocations: 0.7791 MB / 493.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.07214, allocations: 7.938 kB / 493.4 MB, free: 7.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.07239, allocations: 51.58 kB / 493.4 MB, free: 7.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.07246, allocations: 67.47 kB / 493.5 MB, free: 7.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.07265, allocations: 63.8 kB / 493.5 MB, free: 7.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.07284, allocations: 211 kB / 493.7 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.07297, allocations: 34.02 kB / 493.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.07312, allocations: 95.62 kB / 493.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.07322, allocations: 71.58 kB / 493.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.07324, allocations: 12 kB / 494 MB, free: 6.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.0733, allocations: 31.98 kB / 494 MB, free: 6.906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.07332, allocations: 31.84 kB / 494 MB, free: 6.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.07337, allocations: 71.66 kB / 494.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.07358, allocations: 207.1 kB / 494.3 MB, free: 6.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.07358, allocations: 0 / 494.3 MB, free: 6.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.07358, allocations: 0 / 494.3 MB, free: 6.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.07359, allocations: 0 / 494.3 MB, free: 6.602 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004878/0.07408, allocations: 413.3 kB / 494.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.07411, allocations: 12.03 kB / 494.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.07415, allocations: 46.75 kB / 494.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.07427, allocations: 44.77 kB / 494.8 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.0745, allocations: 178.7 kB / 495 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.07451, allocations: 12.36 kB / 495 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.07454, allocations: 20.12 kB / 495 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.07472, allocations: 148.2 kB / 495.1 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.07473, allocations: 0 / 495.1 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.07474, allocations: 4 kB / 495.1 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.07475, allocations: 4 kB / 495.1 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.07487, allocations: 91.89 kB / 495.2 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.07548, allocations: 0.6315 MB / 495.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.07563, allocations: 98.61 kB / 496 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.07567, allocations: 32.83 kB / 496 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.07568, allocations: 4 kB / 496 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.07569, allocations: 30.78 kB / 496 MB, free: 4.699 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.0757, allocations: 3.938 kB / 496 MB, free: 4.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007287/0.07642, allocations: 417.4 kB / 496.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.07645, allocations: 55.41 kB / 496.5 MB, free: 4.188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.07658, allocations: 195.3 kB / 496.7 MB, free: 3.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.07659, allocations: 29.7 kB / 496.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.07665, allocations: 132.2 kB / 496.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.07667, allocations: 47.59 kB / 496.9 MB, free: 3.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.07671, allocations: 37.7 kB / 496.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.0768, allocations: 334.8 kB / 497.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.07684, allocations: 27.98 kB / 497.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.0769, allocations: 83.86 kB / 497.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.07701, allocations: 137.2 kB / 497.5 MB, free: 3.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.07702, allocations: 0 / 497.5 MB, free: 3.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001592/0.07718, allocations: 165.4 kB / 497.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.07719, allocations: 4 kB / 497.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.07719, allocations: 0 / 497.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.0772, allocations: 4 kB / 497.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.07731, allocations: 39.92 kB / 497.7 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.07732, allocations: 8.094 kB / 497.7 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.07736, allocations: 8 kB / 497.7 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.07737, allocations: 4 kB / 497.7 MB, free: 2.875 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.373e-05/0.07744, allocations: 133.7 kB / 497.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.07746, allocations: 15.91 kB / 497.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.07749, allocations: 25.45 kB / 497.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.07749, allocations: 0 / 497.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.0775, allocations: 7.938 kB / 497.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.0775, allocations: 4 kB / 497.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.07787, allocations: 427.3 kB / 498.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.07787, allocations: 0 / 498.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-05/0.07797, allocations: 35.86 kB / 498.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.07797, allocations: 0 / 498.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.07798, allocations: 8 kB / 498.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.07798, allocations: 0 / 498.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.07798, allocations: 0 / 498.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.07819, allocations: 273.1 kB / 498.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.07821, allocations: 15.98 kB / 498.7 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.07822, allocations: 8.062 kB / 498.7 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.012e-05/0.07827, allocations: 11.92 kB / 498.7 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.07829, allocations: 12.03 kB / 498.7 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.0783, allocations: 11.92 kB / 498.7 MB, free: 1.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.892e-05/0.07836, allocations: 135.4 kB / 498.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07836, allocations: 0 / 498.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000169/0.07853, allocations: 32 kB / 498.9 MB, free: 1.652 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,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.0003443/0.07888, allocations: 0.7999 MB / 499.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.07901, allocations: 92.08 kB / 499.7 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.07901, allocations: 7.875 kB / 499.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.07905, allocations: 39.92 kB / 499.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.07931, allocations: 33.2 kB / 499.8 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.08096, allocations: 2.287 MB / 0.4903 GB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.08103, allocations: 120.2 kB / 0.4905 GB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.08108, allocations: 17.48 kB / 0.4905 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.08115, allocations: 51.42 kB / 0.4905 GB, free: 14.03 MB / 362.7 MB Notification: Performance of SimCode: time 4.7e-07/0.08115, allocations: 0 / 0.4905 GB, free: 14.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/0.1565, allocations: 4.286 MB / 0.4947 GB, free: 9.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/6.639, allocations: 4.062 kB / 0.4947 GB, free: 9.879 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricBraking_ElectricBraking_Examples_Translational_EddyCurrentBraking_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ElectricBraking_ElectricBraking_Examples_Translational_EddyCurrentBraking.fmu) > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 52.5] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_fmpy.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_fmpy.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ElectricBraking_ElectricBraking_Examples_Translational_EddyCurrentBraking.fmu) > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.017088146880269]