Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2363/0.2363, allocations: 46.93 MB / 361.7 MB, free: 4.293 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003091/0.003091, allocations: 67.89 kB / 0.497 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3797, allocations: 66.04 MB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003338/0.3831, allocations: 1.741 MB / 0.5632 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3849, allocations: 1.049 MB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.385, allocations: 3.938 kB / 0.5642 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.3853, allocations: 51.77 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.3856, allocations: 99.59 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3858, allocations: 83.66 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.386, allocations: 107.7 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.3861, allocations: 9.906 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3863, allocations: 51.7 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.3864, allocations: 31.86 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3864, allocations: 4 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.3865, allocations: 39.98 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.3865, allocations: 31.84 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.3866, allocations: 47.67 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.3868, allocations: 139.4 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3868, allocations: 3.938 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3869, allocations: 0 / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3869, allocations: 0 / 0.5649 GB, free: 0.9492 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.0006027/0.3875, allocations: 373.3 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3875, allocations: 8.031 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.807e-05/0.3875, allocations: 4.188 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.3876, allocations: 38.75 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3876, allocations: 12.84 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.3879, allocations: 167.2 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3879, allocations: 4.125 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.388, allocations: 4 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3881, allocations: 57.61 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3881, allocations: 0 / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3881, allocations: 0 / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3882, allocations: 8 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/0.3882, allocations: 15.98 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.3886, allocations: 275.9 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3888, allocations: 54.62 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.3889, allocations: 20.84 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3889, allocations: 8 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.3891, allocations: 59.39 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3891, allocations: 3.938 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005626/0.3896, allocations: 185.3 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.3897, allocations: 55.41 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.39, allocations: 274.7 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.39, allocations: 33.7 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.3901, allocations: 112.1 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.3901, allocations: 27.78 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.3902, allocations: 21.72 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3903, allocations: 334.8 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.3904, allocations: 12 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.3904, allocations: 45.95 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3906, allocations: 65.69 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3906, allocations: 0 / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.3908, allocations: 113.5 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3908, allocations: 4 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3908, allocations: 4 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3908, allocations: 0 / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.3909, allocations: 12 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3909, allocations: 3.938 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.391, allocations: 16.02 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.391, allocations: 4 kB / 0.5672 GB, free: 14.35 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.0001332/0.3911, allocations: 136.6 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3911, allocations: 15.91 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.3914, allocations: 119.2 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3914, allocations: 0 / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3914, allocations: 7.938 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3914, allocations: 3.984 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.3919, allocations: 374.4 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3919, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.392, allocations: 12 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.392, allocations: 3.938 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.392, allocations: 7.938 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.392, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.392, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.3923, allocations: 216.2 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.3923, allocations: 15.84 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3923, allocations: 0 / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.3924, allocations: 4 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.3924, allocations: 7.984 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3924, allocations: 4 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.3926, allocations: 204.6 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.588e-06/0.3927, allocations: 4 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3929, allocations: 23.94 kB / 0.5683 GB, free: 13.12 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.002253/0.3952, allocations: 1.106 MB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3954, allocations: 55.92 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3954, allocations: 0 / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.3955, allocations: 27.92 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.3958, allocations: 32.48 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3982, allocations: 1.836 MB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3985, allocations: 0.7158 MB / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.3986, allocations: 20.97 kB / 0.572 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.3987, allocations: 43.42 kB / 0.5721 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3987, allocations: 0 / 0.5721 GB, free: 9.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.4263, allocations: 4.002 MB / 0.576 GB, free: 5.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 4.062 kB / 0.576 GB, free: 5.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.701881825982127] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.830371267045848 11.85299121 11.462862444 Calling exit ...