Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.00206/0.00206, 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.002276/0.002276, 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.564/1.564, allocations: 230.5 MB / 258.2 MB, free: 7.973 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.2259/0.2259, allocations: 46.93 MB / 361.6 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 180] 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.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",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.002425/0.002425, allocations: 76.11 kB / 0.497 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3469, allocations: 66.1 MB / 0.5616 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003288/0.3502, allocations: 1.737 MB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.352, allocations: 1.056 MB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.3521, allocations: 4 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.3524, allocations: 43.77 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.3527, allocations: 99.55 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.3529, allocations: 79.72 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3531, allocations: 99.7 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.3531, allocations: 13.89 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3532, allocations: 47.78 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.286e-05/0.3533, allocations: 31.84 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.3533, allocations: 4 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.3534, allocations: 47.91 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.3535, allocations: 19.92 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.3535, allocations: 39.69 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3538, allocations: 123.5 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3538, allocations: 3.938 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3538, allocations: 0 / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.3538, allocations: 4 kB / 0.5649 GB, free: 0.7812 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.0005576/0.3543, allocations: 345.5 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3544, allocations: 12.03 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.3544, allocations: 34.73 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3545, allocations: 12.83 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.3547, allocations: 174.2 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3548, allocations: 4.359 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3548, allocations: 8.375 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3549, allocations: 53.8 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3549, allocations: 0 / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.355, allocations: 4 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.355, allocations: 0 / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.355, allocations: 19.98 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.3554, allocations: 263.9 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3556, allocations: 58.67 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.777e-05/0.3557, allocations: 20.84 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3557, allocations: 0 / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.3559, allocations: 75.33 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3559, allocations: 0 / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005541/0.3564, allocations: 181.3 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3565, allocations: 55.34 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.3567, allocations: 214.2 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3567, allocations: 25.7 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.3568, allocations: 108.1 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3568, allocations: 27.78 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.3569, allocations: 25.72 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.357, allocations: 330.8 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.3571, allocations: 19.98 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.3572, allocations: 33.7 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.3573, allocations: 57.66 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3573, allocations: 8 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.3575, allocations: 105.6 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3575, allocations: 4 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3575, allocations: 4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3575, allocations: 192 / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.3576, allocations: 19.92 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3576, allocations: 3.938 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.3577, allocations: 4 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3577, allocations: 7.938 kB / 0.5672 GB, free: 14.3 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.0001518/0.3578, allocations: 134.7 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3579, allocations: 15.91 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.3581, allocations: 115.1 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3581, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3581, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3581, allocations: 4 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.3586, allocations: 370.3 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3586, allocations: 4.031 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.3587, allocations: 11.98 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3587, allocations: 0 / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3587, allocations: 0 / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.3587, allocations: 7.938 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3587, allocations: 0 / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.359, allocations: 204.6 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.359, allocations: 11.95 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.359, allocations: 0 / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/0.3591, allocations: 15.92 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.3591, allocations: 8 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.3591, allocations: 7.984 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.3593, allocations: 152.3 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3593, allocations: 0 / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.3596, allocations: 23.94 kB / 0.5682 GB, free: 13.14 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.002234/0.3618, allocations: 1.096 MB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.362, allocations: 55.91 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.362, allocations: 0 / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.3621, allocations: 27.92 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.3625, allocations: 27.36 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.3645, allocations: 1.69 MB / 0.571 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3648, allocations: 0.7041 MB / 0.5717 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.714e-05/0.3649, allocations: 20.58 kB / 0.5717 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.3649, allocations: 39.42 kB / 0.5718 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3649, allocations: 4 kB / 0.5718 GB, free: 9.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.3929, allocations: 3.594 MB / 0.5753 GB, free: 5.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.543, allocations: 6.25 kB / 0.5753 GB, free: 5.918 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.746506909839809] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.679138662293553 8.693828337 8.337110887 Calling exit ...