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.0009363/0.0009363, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001475/0.001475, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9889/0.9889, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.004731/0.004731, allocations: 1.19 MB / 260.4 MB, free: 12.09 MB / 250.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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 383 MB, free: 13.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.98e-05, allocations: 6.281 kB / 383 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002527/0.002546, allocations: 2.184 MB / 385.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009036/0.00345, allocations: 0.779 MB / 386 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.003549, allocations: 4 kB / 386 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.003794, allocations: 63.56 kB / 386.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.003874, allocations: 67.41 kB / 386.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.004059, allocations: 67.72 kB / 386.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.004247, allocations: 218.8 kB / 386.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.004361, allocations: 25.8 kB / 386.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.00453, allocations: 119.7 kB / 386.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.004628, allocations: 67.73 kB / 386.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.004649, allocations: 12 kB / 386.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.004712, allocations: 31.98 kB / 386.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.004735, allocations: 31.84 kB / 386.7 MB, free: 9.977 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.004786, allocations: 67.77 kB / 386.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.005002, allocations: 199.3 kB / 387 MB, free: 9.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005004, allocations: 0 / 387 MB, free: 9.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005005, allocations: 0 / 387 MB, free: 9.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.005009, allocations: 0 / 387 MB, free: 9.715 MB / 314.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.0004969/0.005506, allocations: 416.6 kB / 387.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005542, allocations: 12.03 kB / 387.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.005583, allocations: 50.67 kB / 387.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.005703, allocations: 36.78 kB / 387.5 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.005919, allocations: 181.9 kB / 387.6 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.005932, allocations: 8.375 kB / 387.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.005956, allocations: 12.38 kB / 387.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.00639, allocations: 152.7 kB / 387.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.006402, allocations: 3.938 kB / 387.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.006415, allocations: 4 kB / 387.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006421, allocations: 4 kB / 387.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.00654, allocations: 79.95 kB / 387.9 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.007163, allocations: 0.6318 MB / 388.5 MB, free: 8.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.007313, allocations: 98.66 kB / 388.6 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.007355, allocations: 36.72 kB / 388.7 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.007364, allocations: 4 kB / 388.7 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.007381, allocations: 30.78 kB / 388.7 MB, free: 7.824 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.007382, allocations: 3.938 kB / 388.7 MB, free: 7.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007736/0.008155, allocations: 420.4 kB / 389.1 MB, free: 7.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.00818, allocations: 55.41 kB / 389.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.00831, allocations: 196.4 kB / 389.4 MB, free: 7.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.008323, allocations: 33.7 kB / 389.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.008387, allocations: 136.2 kB / 389.5 MB, free: 6.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.008412, allocations: 47.59 kB / 389.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.008453, allocations: 37.72 kB / 389.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.008532, allocations: 330.8 kB / 389.9 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.008579, allocations: 31.94 kB / 390 MB, free: 6.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.008645, allocations: 85.17 kB / 390 MB, free: 6.379 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.008765, allocations: 137.8 kB / 390.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008767, allocations: 0 / 390.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001667/0.008933, allocations: 165 kB / 390.3 MB, free: 6.059 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.008948, allocations: 8 kB / 390.3 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008952, allocations: 0 / 390.3 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.008964, allocations: 4 kB / 390.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.009069, allocations: 35.92 kB / 390.4 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.009075, allocations: 7.984 kB / 390.4 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.009122, allocations: 8 kB / 390.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.009129, allocations: 7.938 kB / 390.4 MB, free: 5.988 MB / 314.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.263e-05/0.009202, allocations: 133.9 kB / 390.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.009223, allocations: 15.91 kB / 390.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.009252, allocations: 21.47 kB / 390.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.009254, allocations: 3.938 kB / 390.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.009259, allocations: 7.984 kB / 390.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009263, allocations: 4 kB / 390.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.009635, allocations: 423.2 kB / 391 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.009639, allocations: 4 kB / 391 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.009733, allocations: 31.92 kB / 391 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009734, allocations: 4.062 kB / 391 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.009745, allocations: 8 kB / 391 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.009747, allocations: 3.938 kB / 391.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.009749, allocations: 3.984 kB / 391.1 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.009966, allocations: 273 kB / 391.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.009984, allocations: 15.94 kB / 391.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.01, allocations: 0 / 391.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.01006, allocations: 11.94 kB / 391.3 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.01008, allocations: 7.984 kB / 391.4 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.01008, allocations: 4 kB / 391.4 MB, free: 4.949 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.495e-05/0.01016, allocations: 147.4 kB / 391.5 MB, free: 4.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01016, allocations: 0 / 391.5 MB, free: 4.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.01034, allocations: 32 kB / 391.5 MB, free: 4.773 MB / 314.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.0003487/0.01069, allocations: 0.796 MB / 392.3 MB, free: 3.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.01083, allocations: 91.89 kB / 392.4 MB, free: 3.855 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01083, allocations: 3.938 kB / 392.4 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.01087, allocations: 40.23 kB / 392.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01114, allocations: 28.11 kB / 392.5 MB, free: 3.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.01288, allocations: 2.201 MB / 394.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.01321, allocations: 112.2 kB / 394.8 MB, free: 1.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.943e-05/0.01326, allocations: 17.48 kB / 394.8 MB, free: 1.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.01332, allocations: 52.48 kB / 394.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01332, allocations: 0 / 394.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07847/0.09179, allocations: 4.453 MB / 399.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.267, allocations: 12 kB / 399.3 MB, free: 12.94 MB / 330.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.909544667229056]