Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.001237/0.001237, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001402/0.001402, allocations: 220.8 kB / 23.01 MB, free: 5.605 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.442/1.442, allocations: 230.2 MB / 256.2 MB, free: 8.703 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.267/0.267, allocations: 46.89 MB / 359.4 MB, free: 4.926 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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",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.002337/0.002337, allocations: 87.86 kB / 0.4942 GB, free: 8.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3752, allocations: 65.99 MB / 0.5587 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004135/0.3794, allocations: 2.294 MB / 0.5609 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.3819, allocations: 1.342 MB / 0.5622 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.3821, allocations: 3.938 kB / 0.5622 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.3825, allocations: 139.3 kB / 0.5624 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006076/0.3832, allocations: 258.9 kB / 0.5626 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.3836, allocations: 191.5 kB / 0.5628 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.3842, allocations: 466.6 kB / 0.5632 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3844, allocations: 50.89 kB / 0.5633 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.3848, allocations: 339 kB / 0.5636 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.385, allocations: 175.1 kB / 0.5638 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.3851, allocations: 16 kB / 0.5638 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3852, allocations: 71.92 kB / 0.5639 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.3854, allocations: 151.4 kB / 0.564 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.3856, allocations: 206.3 kB / 0.5642 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.3862, allocations: 489.4 kB / 0.5647 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3862, allocations: 7.984 kB / 0.5647 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3862, allocations: 0 / 0.5647 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.3862, allocations: 0 / 0.5647 GB, free: 14.95 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001293/0.3875, allocations: 0.9171 MB / 0.5656 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3876, allocations: 8.031 kB / 0.5656 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.3876, allocations: 46.73 kB / 0.5656 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.3877, allocations: 76.45 kB / 0.5657 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.3884, allocations: 452.8 kB / 0.5661 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3884, allocations: 8.375 kB / 0.5661 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.3884, allocations: 24.31 kB / 0.5662 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.3888, allocations: 189.1 kB / 0.5663 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3888, allocations: 3.984 kB / 0.5664 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.3889, allocations: 4 kB / 0.5664 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3889, allocations: 8 kB / 0.5664 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.3891, allocations: 91.88 kB / 0.5665 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.3902, allocations: 0.8251 MB / 0.5673 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.3908, allocations: 230.5 kB / 0.5675 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.3911, allocations: 91.52 kB / 0.5676 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3911, allocations: 4 kB / 0.5676 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003931/0.3915, allocations: 200.2 kB / 0.5678 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.3915, allocations: 0 / 0.5678 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00264/0.3941, allocations: 1.202 MB / 0.5689 GB, free: 10.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.3942, allocations: 136.5 kB / 0.5691 GB, free: 10.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3954, allocations: 0.9614 MB / 0.57 GB, free: 9.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.3955, allocations: 37.7 kB / 0.57 GB, free: 9.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.3957, allocations: 265 kB / 0.5703 GB, free: 8.887 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.3958, allocations: 150.8 kB / 0.5704 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.396, allocations: 82.08 kB / 0.5705 GB, free: 8.648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3961, allocations: 325.9 kB / 0.5708 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3964, allocations: 116.8 kB / 0.5709 GB, free: 8.211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.3967, allocations: 183.1 kB / 0.5711 GB, free: 8.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.3972, allocations: 319 kB / 0.5714 GB, free: 7.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3972, allocations: 0 / 0.5714 GB, free: 7.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007951/0.398, allocations: 456.8 kB / 0.5719 GB, free: 7.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3981, allocations: 8 kB / 0.5719 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3981, allocations: 0 / 0.5719 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.3981, allocations: 4 kB / 0.5719 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.3984, allocations: 87.89 kB / 0.5719 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3984, allocations: 4 kB / 0.5719 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3985, allocations: 19.98 kB / 0.572 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.3986, allocations: 23.94 kB / 0.572 GB, free: 7.078 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003092/0.3989, allocations: 259.9 kB / 0.5722 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.399, allocations: 83.47 kB / 0.5723 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.4, allocations: 0.5041 MB / 0.5728 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.4, allocations: 4 kB / 0.5728 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4, allocations: 4 kB / 0.5728 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4, allocations: 3.938 kB / 0.5728 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.4018, allocations: 1.334 MB / 0.5741 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.4018, allocations: 12.03 kB / 0.5741 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.402, allocations: 59.92 kB / 0.5742 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.402, allocations: 4 kB / 0.5742 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.402, allocations: 16.36 kB / 0.5742 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.4021, allocations: 7.938 kB / 0.5742 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.4021, allocations: 4 kB / 0.5742 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.403, allocations: 0.8083 MB / 0.575 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.4032, allocations: 184.6 kB / 0.5752 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.4033, allocations: 12 kB / 0.5752 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.4036, allocations: 19.98 kB / 0.5752 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.551e-05/0.4037, allocations: 43.83 kB / 0.5753 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.4037, allocations: 19.98 kB / 0.5753 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008092/0.4045, allocations: 0.706 MB / 0.576 GB, free: 2.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4045, allocations: 0 / 0.576 GB, free: 2.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005322/0.405, allocations: 87.92 kB / 0.5761 GB, free: 2.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003183/0.4082, allocations: 1.772 MB / 0.5778 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006809/0.4089, allocations: 296.3 kB / 0.5781 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4089, allocations: 0 / 0.5781 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.4092, allocations: 152.4 kB / 0.5782 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.4102, allocations: 126.2 kB / 0.5783 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.4172, allocations: 5.158 MB / 0.5834 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.4179, allocations: 0.9133 MB / 0.5843 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.4181, allocations: 83.27 kB / 0.5843 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.4184, allocations: 207.4 kB / 0.5845 GB, free: 10 MB / 430.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4184, allocations: 0 / 0.5845 GB, free: 10 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.4569, allocations: 11.6 MB / 0.5959 GB, free: 14.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.13/9.587, allocations: 7.438 kB / 0.5959 GB, free: 14.44 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00219736 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.43817386199953] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.716873078985373 9.732002236 9.342688989 Calling exit ...