Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.001138/0.001138, allocations: 109 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.002062/0.002062, allocations: 213.9 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.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2324/0.2324, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",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.002278/0.002278, allocations: 83.86 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3663, allocations: 66.08 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003703/0.37, allocations: 1.838 MB / 0.5634 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.3731, allocations: 1.812 MB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.3732, allocations: 3.938 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3735, allocations: 51.69 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.374, allocations: 135.4 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.3742, allocations: 115.6 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.3745, allocations: 207.3 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.3746, allocations: 5.812 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3748, allocations: 95.61 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.375, allocations: 83.61 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.375, allocations: 8 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.3752, allocations: 119.8 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.3753, allocations: 35.91 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.3754, allocations: 59.59 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.3757, allocations: 233 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3758, allocations: 0 / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3758, allocations: 4 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3758, allocations: 4 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007568/0.3765, allocations: 428.9 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3766, allocations: 8.031 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.3766, allocations: 34.73 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.3767, allocations: 24.78 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3771, allocations: 194.1 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3771, allocations: 384 / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3771, allocations: 8.375 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.3773, allocations: 97.2 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3773, allocations: 3.938 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3773, allocations: 8 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3773, allocations: 0 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3775, allocations: 31.91 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.3777, allocations: 197.6 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.378, allocations: 101.2 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.547e-05/0.3781, allocations: 41.7 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3781, allocations: 0 / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3784, allocations: 113 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.011e-06/0.3784, allocations: 0 / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005042/0.3789, allocations: 173.4 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.379, allocations: 132.5 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.3793, allocations: 238.3 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3793, allocations: 25.7 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3794, allocations: 116.1 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.3795, allocations: 39.72 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.3795, allocations: 25.72 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3797, allocations: 334.8 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.3798, allocations: 32.48 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3799, allocations: 65.14 kB / 0.5686 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.3801, allocations: 95.34 kB / 0.5687 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3801, allocations: 4.031 kB / 0.5687 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002839/0.3804, allocations: 141.4 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3804, allocations: 6.344 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3804, allocations: 0 / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3804, allocations: 4 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3805, allocations: 19.98 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3805, allocations: 7.938 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.3806, allocations: 11.94 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.3806, allocations: 12.06 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 0.0001451/0.3808, allocations: 134.6 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.3808, allocations: 23.83 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.3812, allocations: 146.7 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3812, allocations: 0 / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3812, allocations: 256 / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3812, allocations: 4 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.3814, allocations: 196.5 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3814, allocations: 7.938 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.3814, allocations: 11.98 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3814, allocations: 3.938 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3814, allocations: 8 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3814, allocations: 0 / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3814, allocations: 0 / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.3818, allocations: 165.8 kB / 0.5696 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.3818, allocations: 23.83 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.3818, allocations: 8 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.3819, allocations: 3.984 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.3819, allocations: 11.98 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.382, allocations: 4 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.3821, allocations: 176.5 kB / 0.5698 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3821, allocations: 0 / 0.5698 GB, free: 11.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.3824, allocations: 55.86 kB / 0.5698 GB, free: 11.41 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002539/0.385, allocations: 1.107 MB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.3853, allocations: 79.89 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3853, allocations: 0 / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3854, allocations: 36.05 kB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3857, allocations: 65.11 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.3882, allocations: 1.881 MB / 0.5729 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3886, allocations: 0.7164 MB / 0.5736 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.3887, allocations: 41.55 kB / 0.5737 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3888, allocations: 59.41 kB / 0.5737 GB, free: 7.434 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3888, allocations: 0 / 0.5737 GB, free: 7.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.422, allocations: 5.413 MB / 0.579 GB, free: 2.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.496, allocations: 3.438 kB / 0.579 GB, free: 2.012 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.555498704779893] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.643133288249373 8.670764537 8.289822158 Calling exit ...