Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BidiDCDC_BidiDCDC.Examples.TransferFunction.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.00122/0.00122, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 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.001493/0.001493, allocations: 157.3 kB / 22.75 MB, free: 1.676 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.9151/0.9151, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo:2:1-29:13:writable] Warning: Types was referenced in the package.order file, but was not found in package.mo, Types/package.mo or Types.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo): time 0.002593/0.002593, allocations: 0.6579 MB / 260.2 MB, free: 12.4 MB / 250.7 MB " [Timeout remaining time 180] Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/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(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 329.2 MB, free: 19.87 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.894e-05, allocations: 10.25 kB / 329.2 MB, free: 19.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.001695/0.001714, allocations: 1.609 MB / 330.8 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.002378, allocations: 0.4909 MB / 331.3 MB, free: 17.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.002457, allocations: 0 / 331.3 MB, free: 17.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.002725, allocations: 19.86 kB / 331.3 MB, free: 17.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.002841, allocations: 35.78 kB / 331.3 MB, free: 17.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.003005, allocations: 67.83 kB / 331.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.003119, allocations: 107.7 kB / 331.5 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.003211, allocations: 11.98 kB / 331.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.003291, allocations: 63.81 kB / 331.6 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.003397, allocations: 75.83 kB / 331.6 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.003422, allocations: 12 kB / 331.7 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.003439, allocations: 12 kB / 331.7 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.003498, allocations: 55.88 kB / 331.7 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.003536, allocations: 43.84 kB / 331.8 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003665, allocations: 147.5 kB / 331.9 MB, free: 17.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003667, allocations: 0 / 331.9 MB, free: 17.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003668, allocations: 0 / 331.9 MB, free: 17.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.003672, allocations: 4 kB / 331.9 MB, free: 17.1 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000606/0.004278, allocations: 441.5 kB / 332.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.004323, allocations: 8.031 kB / 332.4 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.004351, allocations: 38.75 kB / 332.4 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.004391, allocations: 16.84 kB / 332.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.004639, allocations: 211.4 kB / 332.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.00465, allocations: 8.375 kB / 332.6 MB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.004671, allocations: 8.375 kB / 332.6 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.004834, allocations: 118.2 kB / 332.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.004843, allocations: 4.188 kB / 332.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004854, allocations: 4.125 kB / 332.8 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.00486, allocations: 0 / 332.8 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.005024, allocations: 127.9 kB / 332.9 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.005538, allocations: 439.6 kB / 333.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.005678, allocations: 114.5 kB / 333.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.005762, allocations: 80.8 kB / 333.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.005775, allocations: 0 / 333.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.00579, allocations: 38.56 kB / 333.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.005791, allocations: 3.938 kB / 333.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003336/0.006124, allocations: 257.9 kB / 333.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.006143, allocations: 51.41 kB / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.006333, allocations: 227.7 kB / 334.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.006344, allocations: 29.7 kB / 334.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.006382, allocations: 116.1 kB / 334.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.00641, allocations: 43.72 kB / 334.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.006448, allocations: 29.72 kB / 334.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.006484, allocations: 326.8 kB / 334.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.006569, allocations: 71.94 kB / 334.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.006648, allocations: 75.94 kB / 334.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.006813, allocations: 168.6 kB / 334.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006815, allocations: 4 kB / 334.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002185/0.007033, allocations: 213.4 kB / 335.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.007046, allocations: 8 kB / 335.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007051, allocations: 3.984 kB / 335.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.007066, allocations: 3.938 kB / 335.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.007171, allocations: 31.92 kB / 335.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.007176, allocations: 0 / 335.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/0.007264, allocations: 35.92 kB / 335.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.007272, allocations: 4 kB / 335.2 MB, free: 13.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 5.13e-05/0.007323, allocations: 133.8 kB / 335.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.007348, allocations: 19.89 kB / 335.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.00738, allocations: 25.47 kB / 335.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.007384, allocations: 7.984 kB / 335.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.007388, allocations: 0 / 335.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007391, allocations: 0 / 335.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.007525, allocations: 204.6 kB / 335.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.007527, allocations: 8 kB / 335.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.007614, allocations: 23.97 kB / 335.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007616, allocations: 7.938 kB / 335.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.007627, allocations: 4 kB / 335.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007629, allocations: 0 / 335.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.00763, allocations: 0 / 335.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.00794, allocations: 379.1 kB / 336 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.00796, allocations: 23.84 kB / 336 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.007977, allocations: 4.031 kB / 336 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.00807, allocations: 27.97 kB / 336.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.008116, allocations: 3.984 kB / 336.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.008121, allocations: 4 kB / 336.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.008259, allocations: 176.2 kB / 336.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008259, allocations: 0 / 336.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.008423, allocations: 24 kB / 336.3 MB, free: 12.49 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (transferFunction.x_scaled[1],transferFunction.x_scaled[2],transferFunction.x_scaled[3]) * 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 (11): * Single equations (assignments): 11 * 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.0003825/0.008806, allocations: 0.9074 MB / 337.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.009022, allocations: 159.9 kB / 337.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009024, allocations: 0 / 337.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.186e-05/0.009105, allocations: 75.95 kB / 337.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.009342, allocations: 31.91 kB / 337.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.01118, allocations: 2.247 MB / 339.7 MB, free: 8.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.397e-05/0.01124, allocations: 114.2 kB / 339.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.805e-05/0.01131, allocations: 36.94 kB / 339.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.201e-05/0.01138, allocations: 48.42 kB / 339.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01138, allocations: 3.938 kB / 339.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.02807, allocations: 4.455 MB / 344.3 MB, free: 4.438 MB / 266.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 6.127/6.156, allocations: 22.8 kB / 344.3 MB, free: 4.418 MB / 266.7 MB " [Timeout remaining time 654] (rm -f BidiDCDC_BidiDCDC.Examples.TransferFunction_OMSimulator.pipe ; mkfifo BidiDCDC_BidiDCDC.Examples.TransferFunction_OMSimulator.pipe ; head -c 1048576 < BidiDCDC_BidiDCDC.Examples.TransferFunction_OMSimulator.pipe >> ../files/BidiDCDC_BidiDCDC.Examples.TransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BidiDCDC_BidiDCDC_Examples_TransferFunction_OMSimulator_fmu --startTime=0 --stopTime=0.04 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction_OMSimulator.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f BidiDCDC_BidiDCDC.Examples.TransferFunction_fmpy.pipe ; mkfifo BidiDCDC_BidiDCDC.Examples.TransferFunction_fmpy.pipe ; head -c 1048576 < BidiDCDC_BidiDCDC.Examples.TransferFunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/BidiDCDC_BidiDCDC.Examples.TransferFunction_fmpy.sim & python3 -m fmpy simulate --output-file BidiDCDC_BidiDCDC.Examples.TransferFunction_fmpy_res.csv --start-time 0 --stop-time 0.04 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 7.904195006005466]