Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.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.000964/0.000964, 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.9079/0.9079, 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/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.0408/0.0408, allocations: 7.119 MB / 266.3 MB, free: 6.246 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.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(ChaoticCircuits.LotkaVolterra.PredatorPrey,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.LotkaVolterra.PredatorPrey,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 393 MB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.398e-05, allocations: 4.953 kB / 393 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.LotkaVolterra.PredatorPrey): time 0.001736/0.00176, allocations: 0.4973 MB / 393.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001726/0.001932, allocations: 23.89 kB / 393.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.001967, allocations: 0 / 393.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.001982, allocations: 4 kB / 393.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.002028, allocations: 3.938 kB / 393.5 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.002158, allocations: 11.92 kB / 393.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.002223, allocations: 11.94 kB / 393.5 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.002271, allocations: 3.984 kB / 393.5 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.00232, allocations: 12 kB / 393.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.002381, allocations: 7.984 kB / 393.6 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.002399, allocations: 0 / 393.6 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.002407, allocations: 0 / 393.6 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.002425, allocations: 3.984 kB / 393.6 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.002449, allocations: 7.938 kB / 393.6 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.969e-05/0.002519, allocations: 7.984 kB / 393.6 MB, free: 2.656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.002521, allocations: 4 kB / 393.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.002523, allocations: 0 / 393.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.002527, allocations: 0 / 393.6 MB, free: 2.652 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000388/0.002915, allocations: 254.3 kB / 393.8 MB, free: 2.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.002961, allocations: 12.03 kB / 393.8 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.003, allocations: 30.75 kB / 393.9 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.003026, allocations: 4.875 kB / 393.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.003194, allocations: 113.7 kB / 394 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.003208, allocations: 384 / 394 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.003228, allocations: 384 / 394 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.003333, allocations: 34.25 kB / 394 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.003343, allocations: 192 / 394 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.003353, allocations: 8.312 kB / 394 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.003358, allocations: 8.125 kB / 394 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.128e-05/0.00339, allocations: 4 kB / 394 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.003548, allocations: 124.8 kB / 394.2 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.003641, allocations: 34.55 kB / 394.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.003664, allocations: 8.984 kB / 394.2 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.003672, allocations: 0 / 394.2 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.003698, allocations: 46.5 kB / 394.2 MB, free: 1.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.003699, allocations: 0 / 394.2 MB, free: 1.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001563/0.003855, allocations: 49.64 kB / 394.3 MB, free: 1.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.003888, allocations: 59.47 kB / 394.4 MB, free: 1.723 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.00396, allocations: 101.8 kB / 394.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.003973, allocations: 25.7 kB / 394.5 MB, free: 1.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.004004, allocations: 88.08 kB / 394.6 MB, free: 1.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.004031, allocations: 3.953 kB / 394.6 MB, free: 1.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.004069, allocations: 17.72 kB / 394.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.004166, allocations: 314.8 kB / 394.9 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.004191, allocations: 8 kB / 394.9 MB, free: 1.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.004208, allocations: 4 kB / 394.9 MB, free: 1.137 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/0.004262, allocations: 28.8 kB / 394.9 MB, free: 1.105 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004264, allocations: 0 / 394.9 MB, free: 1.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.852e-05/0.004353, allocations: 49.69 kB / 395 MB, free: 1.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.004371, allocations: 10.97 kB / 395 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.004375, allocations: 0 / 395 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.004389, allocations: 0 / 395 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.004475, allocations: 7.938 kB / 395 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.004481, allocations: 0 / 395 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.004503, allocations: 8 kB / 395 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.004509, allocations: 0 / 395 MB, free: 1.027 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 (4): * Single equations (assignments): 4 * 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 6.85e-05/0.004577, allocations: 113.8 kB / 395.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.004592, allocations: 7.953 kB / 395.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.004615, allocations: 15.27 kB / 395.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.004618, allocations: 0 / 395.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.004623, allocations: 3.938 kB / 395.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.004626, allocations: 0 / 395.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.52e-05/0.004721, allocations: 120.8 kB / 395.3 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.004722, allocations: 3.938 kB / 395.3 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.00479, allocations: 4 kB / 395.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.004793, allocations: 0 / 395.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.004801, allocations: 0 / 395.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.004803, allocations: 4 kB / 395.3 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.004806, allocations: 3.938 kB / 395.3 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.004945, allocations: 77.12 kB / 395.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.004953, allocations: 0 / 395.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.004965, allocations: 4.031 kB / 395.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.004987, allocations: 0 / 395.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.005014, allocations: 15.86 kB / 395.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.005018, allocations: 0 / 395.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.754e-05/0.005055, allocations: 83.59 kB / 395.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.005055, allocations: 3.938 kB / 395.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.005265, allocations: 4 kB / 395.5 MB, free: 0.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (hares,foxes) * 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 (2): * Single equations (assignments): 2 * 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.0003559/0.00562, allocations: 0.6087 MB / 396.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.138e-05/0.005712, allocations: 23.92 kB / 396.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005714, allocations: 0 / 396.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.005731, allocations: 8 kB / 396.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.005891, allocations: 3.938 kB / 396.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.007003, allocations: 1.13 MB / 397.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.007051, allocations: 63.34 kB / 397.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.551e-05/0.007066, allocations: 4.188 kB / 397.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.007103, allocations: 12.48 kB / 397.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007104, allocations: 0 / 397.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07868/0.08578, allocations: 1.813 MB / 399.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/7.36, allocations: 4.062 kB / 399.1 MB, free: 12.82 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey.fmu) > ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ../ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey.fmu) > ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.646777804009616]