Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.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.00177/0.00177, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002221/0.002221, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.514/1.514, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2379/0.2379, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",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.002426/0.002426, allocations: 84.14 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3659, allocations: 66.08 MB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003662/0.3696, allocations: 1.744 MB / 0.5633 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3715, allocations: 1.049 MB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.523e-05/0.3716, allocations: 4 kB / 0.5643 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.3719, allocations: 47.75 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.3723, allocations: 95.55 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.3725, allocations: 71.73 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3727, allocations: 115.6 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3728, allocations: 9.969 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.373, allocations: 43.78 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.373, allocations: 31.84 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3731, allocations: 8 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3732, allocations: 39.98 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.3732, allocations: 27.86 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.3733, allocations: 35.73 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.3736, allocations: 123.4 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3736, allocations: 0 / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3736, allocations: 0 / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3736, allocations: 0 / 0.5649 GB, free: 0.8555 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.0006737/0.3743, allocations: 345.6 kB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.3743, allocations: 16.03 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.3744, allocations: 34.75 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3744, allocations: 8.891 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.3748, allocations: 154.9 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3748, allocations: 4.375 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.3748, allocations: 4.375 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.375, allocations: 57.8 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.375, allocations: 0 / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.375, allocations: 0 / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.375, allocations: 8 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.71e-05/0.3751, allocations: 15.98 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.3756, allocations: 263.9 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3757, allocations: 54.67 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.3758, allocations: 20.84 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.3758, allocations: 4 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.376, allocations: 71.33 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.376, allocations: 0 / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006203/0.3766, allocations: 185.3 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3767, allocations: 51.41 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.3769, allocations: 206.2 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.377, allocations: 25.7 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.377, allocations: 108.1 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.3771, allocations: 23.8 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.3771, allocations: 25.7 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3773, allocations: 330.8 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.3773, allocations: 16 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.3774, allocations: 33.7 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3775, allocations: 69.69 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3775, allocations: 0 / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.3777, allocations: 105.5 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3777, allocations: 7.984 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3778, allocations: 4 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3778, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.3779, allocations: 15.94 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3779, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.3779, allocations: 8.031 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3779, allocations: 7.984 kB / 0.5671 GB, free: 14.41 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.0001288/0.3781, allocations: 126.7 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.3781, allocations: 11.91 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.3783, allocations: 115 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3783, allocations: 0 / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3783, allocations: 0 / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3783, allocations: 0 / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.3788, allocations: 378.3 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3789, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.3789, allocations: 8 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3789, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3789, allocations: 4 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3789, allocations: 3.938 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3789, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.3792, allocations: 208.6 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.3792, allocations: 11.94 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.3792, allocations: 4 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.3793, allocations: 4.5 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.3793, allocations: 19.91 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3794, allocations: 7.938 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3795, allocations: 148.2 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3795, allocations: 0 / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3797, allocations: 23.94 kB / 0.5681 GB, free: 13.26 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.002225/0.382, allocations: 1.091 MB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.3822, allocations: 55.86 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3822, allocations: 0 / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.3823, allocations: 27.92 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.3826, allocations: 31.86 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3845, allocations: 1.658 MB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3849, allocations: 0.708 MB / 0.5716 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.131e-05/0.385, allocations: 21.28 kB / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.385, allocations: 39.41 kB / 0.5717 GB, free: 9.652 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.385, allocations: 0 / 0.5717 GB, free: 9.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.4132, allocations: 3.532 MB / 0.5751 GB, free: 6.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.335, allocations: 2.344 kB / 0.5751 GB, free: 6.133 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.543366481084377] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.47545981919393 8.497821056 8.1199032 Calling exit ...