Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.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.0008335/0.0008335, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008848/0.0008848, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 1.028/1.028, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.00727/0.00727, allocations: 1.184 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.Rotational.EddyCurrentBraking,fileNamePrefix="ElectricBraking_ElectricBraking_Examples_Rotational_EddyCurrentBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricBraking.Examples.Rotational.EddyCurrentBraking,fileNamePrefix="ElectricBraking_ElectricBraking_Examples_Rotational_EddyCurrentBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 383 MB, free: 13.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.218e-05, allocations: 2.281 kB / 383 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.002692/0.002714, allocations: 2.163 MB / 385.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003826, allocations: 0.7751 MB / 386 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003944, allocations: 3.938 kB / 386 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.00431, allocations: 55.56 kB / 386 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.004412, allocations: 71.42 kB / 386.1 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.004656, allocations: 67.72 kB / 386.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.004878, allocations: 206.9 kB / 386.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.005017, allocations: 29.8 kB / 386.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.005241, allocations: 111.7 kB / 386.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.005358, allocations: 59.8 kB / 386.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.005387, allocations: 16 kB / 386.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.005474, allocations: 35.97 kB / 386.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.005502, allocations: 31.86 kB / 386.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.005558, allocations: 55.84 kB / 386.7 MB, free: 9.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.005847, allocations: 195.3 kB / 386.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005849, allocations: 0 / 386.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00585, allocations: 0 / 386.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.005855, allocations: 0 / 386.9 MB, free: 9.781 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.0005663/0.006421, allocations: 404.7 kB / 387.3 MB, free: 9.359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.006464, allocations: 8.031 kB / 387.3 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.006506, allocations: 50.69 kB / 387.3 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.006633, allocations: 36.81 kB / 387.4 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.006892, allocations: 174.1 kB / 387.6 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006906, allocations: 8.375 kB / 387.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.006937, allocations: 12.38 kB / 387.6 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.007143, allocations: 148.7 kB / 387.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.007162, allocations: 11.92 kB / 387.7 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.007176, allocations: 8 kB / 387.7 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.007183, allocations: 4 kB / 387.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.007309, allocations: 79.89 kB / 387.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.008027, allocations: 0.6356 MB / 388.5 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.008179, allocations: 90.55 kB / 388.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.008219, allocations: 28.89 kB / 388.6 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.008228, allocations: 8 kB / 388.6 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.008247, allocations: 30.56 kB / 388.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.008249, allocations: 0 / 388.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002117/0.00846, allocations: 105.8 kB / 388.7 MB, free: 7.801 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.008491, allocations: 55.41 kB / 388.8 MB, free: 7.734 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.008629, allocations: 187.2 kB / 388.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.008641, allocations: 25.7 kB / 389 MB, free: 7.508 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.00871, allocations: 147.5 kB / 389.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.008735, allocations: 39.67 kB / 389.2 MB, free: 7.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.008772, allocations: 29.72 kB / 389.2 MB, free: 7.285 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.00886, allocations: 330.8 kB / 389.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.0089, allocations: 28 kB / 389.5 MB, free: 6.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.008961, allocations: 73.91 kB / 389.6 MB, free: 6.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.009071, allocations: 113.8 kB / 389.7 MB, free: 6.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.009074, allocations: 0 / 389.7 MB, free: 6.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001585/0.009232, allocations: 145.5 kB / 389.9 MB, free: 6.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.009245, allocations: 4.375 kB / 389.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.00925, allocations: 4 kB / 389.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.009262, allocations: 3.938 kB / 389.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.009365, allocations: 35.92 kB / 389.9 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.009371, allocations: 3.938 kB / 389.9 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.009423, allocations: 11.95 kB / 389.9 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.009432, allocations: 8 kB / 389.9 MB, free: 6.48 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 (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 8.285e-05/0.009515, allocations: 125.9 kB / 390.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.009538, allocations: 23.89 kB / 390.1 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.009574, allocations: 21.41 kB / 390.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.009576, allocations: 0 / 390.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.009583, allocations: 4 kB / 390.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009587, allocations: 0 / 390.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.009758, allocations: 192.6 kB / 390.3 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.00976, allocations: 0 / 390.3 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.009846, allocations: 19.98 kB / 390.3 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.009851, allocations: 4 kB / 390.3 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.009861, allocations: 4 kB / 390.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.009862, allocations: 0 / 390.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009863, allocations: 4 kB / 390.3 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.01008, allocations: 223.3 kB / 390.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.0101, allocations: 15.94 kB / 390.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.01011, allocations: 0 / 390.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.01017, allocations: 4 kB / 390.6 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.01019, allocations: 7.984 kB / 390.6 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.0102, allocations: 4 kB / 390.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.84e-05/0.01028, allocations: 127.2 kB / 390.7 MB, free: 5.652 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01028, allocations: 0 / 390.7 MB, free: 5.652 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001972/0.01047, allocations: 39.89 kB / 390.7 MB, free: 5.613 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaLoad.w,integrator.y,heatCapacitor.T,eddyCurrentTorque.phi) * 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 (9): * Single equations (assignments): 9 * 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.0003717/0.01084, allocations: 0.769 MB / 391.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01098, allocations: 63.92 kB / 391.6 MB, free: 4.758 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01099, allocations: 0 / 391.6 MB, free: 4.758 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.01102, allocations: 35.92 kB / 391.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.01129, allocations: 19.97 kB / 391.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.01315, allocations: 2.077 MB / 393.7 MB, free: 2.504 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.01322, allocations: 112.1 kB / 393.8 MB, free: 2.375 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.108e-05/0.01327, allocations: 13.48 kB / 393.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.01334, allocations: 60.45 kB / 393.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01334, allocations: 0 / 393.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08016/0.0935, allocations: 4.042 MB / 397.9 MB, free: 14.4 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/6.975, allocations: 21.64 kB / 397.9 MB, free: 14.39 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricBraking_ElectricBraking_Examples_Rotational_EddyCurrentBraking_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ElectricBraking_ElectricBraking_Examples_Rotational_EddyCurrentBraking.fmu) > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 52.5] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_fmpy.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_fmpy.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ElectricBraking_ElectricBraking.Examples.Rotational.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_Rotational_EddyCurrentBraking.fmu) > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.498063873499632]