Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2192/0.2192, allocations: 46.93 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 83.86 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3599, allocations: 66.09 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003466/0.3634, allocations: 1.745 MB / 0.5633 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.3652, allocations: 1.045 MB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.3653, allocations: 3.938 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.3656, allocations: 39.83 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.366, allocations: 99.53 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.3662, allocations: 83.67 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.3664, allocations: 111.7 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3665, allocations: 5.969 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3666, allocations: 43.78 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.083e-05/0.3667, allocations: 39.78 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3667, allocations: 4 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.3668, allocations: 39.98 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.3668, allocations: 15.92 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.3669, allocations: 35.73 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.3671, allocations: 131.4 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3671, allocations: 7.938 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3671, allocations: 0 / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.3672, allocations: 0 / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005966/0.3677, allocations: 349.5 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3678, allocations: 8.031 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.3678, allocations: 34.75 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3679, allocations: 8.891 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3682, allocations: 155 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.3682, allocations: 384 / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3682, allocations: 8.375 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3684, allocations: 57.8 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3684, allocations: 0 / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3684, allocations: 3.938 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3684, allocations: 0 / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.3685, allocations: 19.98 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.3689, allocations: 260 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3691, allocations: 58.67 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/0.3692, allocations: 24.78 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3692, allocations: 0 / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.3693, allocations: 71.33 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3693, allocations: 0 / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005966/0.3699, allocations: 177.3 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.37, allocations: 51.41 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3702, allocations: 202.3 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3702, allocations: 25.7 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.3703, allocations: 108.1 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.3703, allocations: 23.8 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.3704, allocations: 25.7 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3706, allocations: 326.8 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.3706, allocations: 20 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.3707, allocations: 37.7 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3708, allocations: 69.69 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3708, allocations: 0 / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.371, allocations: 101.9 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.371, allocations: 10.17 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3711, allocations: 8.016 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3711, allocations: 4.188 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/0.3712, allocations: 16 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3712, allocations: 3.938 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.3712, allocations: 8 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3712, allocations: 3.984 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001284/0.3714, allocations: 130.2 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.3714, allocations: 11.91 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.3716, allocations: 119 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3717, allocations: 4 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3717, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3717, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.3723, allocations: 370.3 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3723, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.3723, allocations: 8 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3723, allocations: 0 / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3723, allocations: 4.031 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3723, allocations: 7.938 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3723, allocations: 0 / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3726, allocations: 208.2 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.3726, allocations: 11.94 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.3726, allocations: 4 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.3727, allocations: 7.938 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3727, allocations: 11.98 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3727, allocations: 0 / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.3729, allocations: 152.2 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3729, allocations: 0 / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3732, allocations: 23.94 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002157/0.3753, allocations: 1.085 MB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3755, allocations: 63.86 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3755, allocations: 0 / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.3756, allocations: 23.98 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.376, allocations: 27.92 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3779, allocations: 1.657 MB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3783, allocations: 0.708 MB / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.3784, allocations: 17.28 kB / 0.5716 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.3784, allocations: 35.42 kB / 0.5717 GB, free: 9.648 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3784, allocations: 0 / 0.5717 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.4055, allocations: 3.542 MB / 0.5751 GB, free: 6.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.404, allocations: 4.062 kB / 0.5751 GB, free: 6.113 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.474151077214628] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.541710224933922 8.557168617 8.186788336 Calling exit ...