Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.002003/0.002003, allocations: 109.2 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.002407/0.002407, allocations: 220.5 kB / 23 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.457/1.457, allocations: 230.2 MB / 256.2 MB, free: 8.723 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.2336/0.2336, allocations: 46.9 MB / 359.4 MB, free: 4.934 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.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",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.002238/0.002238, allocations: 79.88 kB / 0.4942 GB, free: 8.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3534, allocations: 65.99 MB / 0.5587 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004679/0.3581, allocations: 1.768 MB / 0.5604 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.3608, allocations: 1.049 MB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.3609, allocations: 4 kB / 0.5614 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.3613, allocations: 91.69 kB / 0.5615 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.3618, allocations: 123.5 kB / 0.5616 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.3621, allocations: 75.67 kB / 0.5617 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.3624, allocations: 123.7 kB / 0.5618 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3625, allocations: 17.8 kB / 0.5618 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3627, allocations: 59.75 kB / 0.5619 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3628, allocations: 67.8 kB / 0.562 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.3628, allocations: 7.938 kB / 0.562 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.363, allocations: 63.98 kB / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.3631, allocations: 23.91 kB / 0.5621 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.3632, allocations: 51.61 kB / 0.5621 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.3635, allocations: 139.4 kB / 0.5622 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3635, allocations: 0 / 0.5622 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3635, allocations: 0 / 0.5622 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3635, allocations: 0 / 0.5622 GB, free: 1.469 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008356/0.3643, allocations: 450.4 kB / 0.5627 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3644, allocations: 8.031 kB / 0.5627 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.3645, allocations: 38.73 kB / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.3645, allocations: 20.84 kB / 0.5627 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.365, allocations: 221.6 kB / 0.5629 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.365, allocations: 8.375 kB / 0.5629 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.3651, allocations: 4.375 kB / 0.563 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3653, allocations: 61.78 kB / 0.563 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3653, allocations: 3.938 kB / 0.563 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3653, allocations: 4 kB / 0.563 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3653, allocations: 0 / 0.563 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3654, allocations: 27.97 kB / 0.563 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.366, allocations: 304.8 kB / 0.5633 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.3663, allocations: 54.55 kB / 0.5634 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.3663, allocations: 24.92 kB / 0.5634 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3664, allocations: 0 / 0.5634 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.3666, allocations: 79.31 kB / 0.5635 GB, free: 8 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.3666, allocations: 0 / 0.5635 GB, free: 8 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001064/0.3676, allocations: 241.3 kB / 0.5637 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.3677, allocations: 55.41 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.368, allocations: 238.9 kB / 0.564 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3681, allocations: 29.69 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3682, allocations: 112.1 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.3682, allocations: 35.73 kB / 0.5642 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.3683, allocations: 29.7 kB / 0.5642 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3685, allocations: 322.8 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3686, allocations: 31.98 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3687, allocations: 49.45 kB / 0.5646 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.3689, allocations: 85.58 kB / 0.5647 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3689, allocations: 4 kB / 0.5647 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003374/0.3693, allocations: 125.6 kB / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3693, allocations: 6.656 kB / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3693, allocations: 0 / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3693, allocations: 7.938 kB / 0.5648 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3694, allocations: 23.98 kB / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3694, allocations: 0 / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.3695, allocations: 7.938 kB / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3695, allocations: 4.031 kB / 0.5648 GB, free: 14.56 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 (13): * Single equations (assignments): 13 * 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.0001523/0.3697, allocations: 133.8 kB / 0.565 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.3697, allocations: 15.91 kB / 0.565 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.3702, allocations: 151.6 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3702, allocations: 7.969 kB / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3702, allocations: 0 / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3702, allocations: 7.938 kB / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.371, allocations: 452.1 kB / 0.5656 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.371, allocations: 4 kB / 0.5656 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.371, allocations: 15.94 kB / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.371, allocations: 0 / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3711, allocations: 4 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-05/0.3711, allocations: 7.984 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3711, allocations: 4.078 kB / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.3715, allocations: 237 kB / 0.5658 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.3716, allocations: 92.95 kB / 0.5659 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.3716, allocations: 4 kB / 0.5659 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3717, allocations: 11.98 kB / 0.5659 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.3718, allocations: 4 kB / 0.5659 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.3718, allocations: 7.984 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.372, allocations: 176.4 kB / 0.5661 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.372, allocations: 0 / 0.5661 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004754/0.3725, allocations: 31.92 kB / 0.5661 GB, free: 13.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.003333/0.3758, allocations: 1.167 MB / 0.5673 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.3762, allocations: 79.84 kB / 0.5674 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3762, allocations: 3.938 kB / 0.5674 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3763, allocations: 31.92 kB / 0.5674 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.3769, allocations: 27.73 kB / 0.5674 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.3802, allocations: 1.868 MB / 0.5692 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.3807, allocations: 0.7126 MB / 0.5699 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.3808, allocations: 24.62 kB / 0.57 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.381, allocations: 47.41 kB / 0.57 GB, free: 9.18 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.381, allocations: 4 kB / 0.57 GB, free: 9.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4102, allocations: 3.973 MB / 0.5739 GB, free: 5.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.493, allocations: 3.234 kB / 0.5739 GB, free: 5.227 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.328694642987102] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.618160671991063 8.640294163 8.272371024 Calling exit ...