Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.001375/0.001375, 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.001246/0.001246, allocations: 169.9 kB / 22.46 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 0.8915/0.8915, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.009957/0.009957, allocations: 2.259 MB / 261.4 MB, free: 11 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ExternData.Examples.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 386.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.267e-05, allocations: 2.281 kB / 386.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002187/0.00221, allocations: 1.576 MB / 387.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003244, allocations: 1.122 MB / 388.8 MB, free: 7.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.003306, allocations: 4 kB / 388.8 MB, free: 7.727 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.003533, allocations: 27.84 kB / 388.8 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.003899, allocations: 107.5 kB / 388.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.159e-05/0.00394, allocations: 11.92 kB / 388.9 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.004003, allocations: 35.86 kB / 389 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.004086, allocations: 8 kB / 389 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.004135, allocations: 15.98 kB / 389 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.004212, allocations: 23.91 kB / 389 MB, free: 7.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.004223, allocations: 0 / 389 MB, free: 7.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.004378, allocations: 99.8 kB / 389.1 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.00439, allocations: 7.938 kB / 389.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.004411, allocations: 11.98 kB / 389.1 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.0046, allocations: 131.6 kB / 389.2 MB, free: 7.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004602, allocations: 4 kB / 389.2 MB, free: 7.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.004603, allocations: 3.938 kB / 389.3 MB, free: 7.246 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.004607, allocations: 4 kB / 389.3 MB, free: 7.242 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003803/0.004987, allocations: 305.8 kB / 389.6 MB, free: 6.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.005024, allocations: 12.03 kB / 389.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.004e-05/0.005054, allocations: 30.75 kB / 389.6 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.00508, allocations: 0.9375 kB / 389.6 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.005219, allocations: 121.7 kB / 389.7 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.005227, allocations: 384 / 389.7 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.005238, allocations: 12.31 kB / 389.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.005349, allocations: 46.23 kB / 389.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.005357, allocations: 4.188 kB / 389.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005366, allocations: 3.938 kB / 389.8 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.005373, allocations: 7.984 kB / 389.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.005425, allocations: 19.98 kB / 389.8 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.005703, allocations: 232 kB / 390 MB, free: 6.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.005851, allocations: 58.48 kB / 390.1 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.005881, allocations: 8.859 kB / 390.1 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.005892, allocations: 0 / 390.1 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.005907, allocations: 38.56 kB / 390.1 MB, free: 6.227 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.005907, allocations: 3.938 kB / 390.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001623/0.00607, allocations: 69.7 kB / 390.2 MB, free: 6.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.006093, allocations: 51.41 kB / 390.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.006177, allocations: 121.8 kB / 390.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.006186, allocations: 25.7 kB / 390.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.006215, allocations: 88.14 kB / 390.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.006238, allocations: 11.84 kB / 390.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.006262, allocations: 17.72 kB / 390.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.00633, allocations: 318.8 kB / 390.8 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.006357, allocations: 12 kB / 390.8 MB, free: 5.469 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.006375, allocations: 7.984 kB / 390.9 MB, free: 5.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.006421, allocations: 32.84 kB / 390.9 MB, free: 5.426 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.006425, allocations: 7.938 kB / 390.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.104e-05/0.006496, allocations: 57.61 kB / 390.9 MB, free: 5.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.006508, allocations: 8 kB / 391 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.006512, allocations: 0 / 391 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.006523, allocations: 0 / 391 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.006554, allocations: 8 kB / 391 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.006558, allocations: 0 / 391 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.006577, allocations: 7.953 kB / 391 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.006581, allocations: 0 / 391 MB, free: 5.332 MB / 314.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 (3): * Single equations (assignments): 3 * 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.482e-05/0.006636, allocations: 121.8 kB / 391.1 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.006648, allocations: 0 / 391.1 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.978e-05/0.006668, allocations: 8 kB / 391.1 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.00667, allocations: 0 / 391.1 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.006674, allocations: 0 / 391.1 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.006676, allocations: 0 / 391.1 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.006784, allocations: 140.7 kB / 391.2 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006786, allocations: 0 / 391.2 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.006808, allocations: 11.98 kB / 391.2 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.00681, allocations: 0 / 391.2 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.006816, allocations: 0 / 391.2 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006818, allocations: 0 / 391.2 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006818, allocations: 0 / 391.2 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.006929, allocations: 159.7 kB / 391.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.006942, allocations: 15.97 kB / 391.4 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/0.006952, allocations: 0 / 391.4 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.006984, allocations: 4 kB / 391.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.006997, allocations: 3.984 kB / 391.4 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.007, allocations: 4 kB / 391.4 MB, free: 4.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.883e-05/0.007039, allocations: 95.58 kB / 391.5 MB, free: 4.707 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007039, allocations: 0 / 391.5 MB, free: 4.707 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.007245, allocations: 39.81 kB / 391.6 MB, free: 4.668 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0007899/0.008035, allocations: 0.9059 MB / 392.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.008172, allocations: 27.98 kB / 392.5 MB, free: 3.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008173, allocations: 4 kB / 392.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.008192, allocations: 11.98 kB / 392.5 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.008387, allocations: 8 kB / 392.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009664/0.009353, allocations: 1.299 MB / 393.8 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.009391, allocations: 63.34 kB / 393.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.658e-05/0.009418, allocations: 8.234 kB / 393.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.009454, allocations: 20.5 kB / 393.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009454, allocations: 7.875 kB / 393.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07629/0.08575, allocations: 3.36 MB / 397.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.776, allocations: 7.578 kB / 397.3 MB, free: 14.94 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ExternData_ExternData_Examples_INITest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=me --timeout=240 --tolerance=1e-06 ../ExternData_ExternData_Examples_INITest.fmu) > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 252.0] (rm -f ExternData_ExternData.Examples.INITest_OMSimulator-cs-cvode.pipe ; mkfifo ExternData_ExternData.Examples.INITest_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.INITest_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ExternData_ExternData_Examples_INITest_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../ExternData_ExternData_Examples_INITest_OMSimulator-cs-cvode.fmu) > ExternData_ExternData.Examples.INITest_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f ExternData_ExternData.Examples.INITest_OMSimulator-cs-euler.pipe ; mkfifo ExternData_ExternData.Examples.INITest_OMSimulator-cs-euler.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.INITest_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ExternData_ExternData_Examples_INITest_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../ExternData_ExternData_Examples_INITest_OMSimulator-cs-euler.fmu) > ExternData_ExternData.Examples.INITest_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f ExternData_ExternData.Examples.INITest_fmpy.pipe ; mkfifo ExternData_ExternData.Examples.INITest_fmpy.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.INITest_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ExternData_ExternData.Examples.INITest_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../ExternData_ExternData_Examples_INITest.fmu) > ExternData_ExternData.Examples.INITest_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 10.259694460779428]