Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001449/0.001449, 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.001966/0.001966, 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2456/0.2456, allocations: 46.93 MB / 361.6 MB, free: 4.266 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+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.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003191/0.003191, allocations: 71.89 kB / 0.497 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4153, allocations: 66.03 MB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003328/0.4187, allocations: 1.744 MB / 0.5632 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.4205, allocations: 1.045 MB / 0.5642 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.4206, allocations: 8 kB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.421, allocations: 51.69 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.4213, allocations: 107.5 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.4215, allocations: 75.73 kB / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.4217, allocations: 103.7 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.4218, allocations: 13.81 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.4219, allocations: 55.72 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.422, allocations: 23.86 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.422, allocations: 4 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.4221, allocations: 47.91 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.4222, allocations: 31.86 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.4222, allocations: 43.67 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.4225, allocations: 139.4 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4225, allocations: 0 / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4225, allocations: 0 / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4225, allocations: 4 kB / 0.5649 GB, free: 0.9414 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.0005763/0.4231, allocations: 381.2 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4231, allocations: 8.031 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.58e-05/0.4231, allocations: 192 / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.4232, allocations: 38.69 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.4232, allocations: 12.84 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.4235, allocations: 167.2 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4235, allocations: 4.125 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.4235, allocations: 8 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4237, allocations: 53.67 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4237, allocations: 0 / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.4237, allocations: 0 / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4237, allocations: 0 / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.4238, allocations: 23.92 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.4242, allocations: 271.9 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.4244, allocations: 54.69 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.4244, allocations: 20.84 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.4244, allocations: 0 / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.4246, allocations: 71.33 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4246, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005668/0.4252, allocations: 189.3 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4252, allocations: 55.41 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.4255, allocations: 274.7 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.4255, allocations: 33.7 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.4256, allocations: 108.1 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.4257, allocations: 31.77 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.4257, allocations: 21.72 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4258, allocations: 334.8 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.4259, allocations: 16 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.426, allocations: 41.64 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.4261, allocations: 65.7 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4261, allocations: 0 / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.4263, allocations: 109.5 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4263, allocations: 4.031 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4263, allocations: 4 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4264, allocations: 4 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.4265, allocations: 19.94 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4265, allocations: 3.938 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.4265, allocations: 7.984 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.4265, allocations: 0 / 0.5672 GB, free: 14.34 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.0001276/0.4267, allocations: 133.8 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.4267, allocations: 19.89 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.4269, allocations: 127 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4269, allocations: 0 / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4269, allocations: 3.938 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.427, allocations: 0 / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.4274, allocations: 374.4 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4274, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.4275, allocations: 8 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4275, allocations: 3.938 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4275, allocations: 8.031 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4275, allocations: 0 / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4275, allocations: 3.984 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.4277, allocations: 208.5 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.4278, allocations: 19.84 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.4278, allocations: 0 / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.4279, allocations: 4.375 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.4279, allocations: 11.98 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.4279, allocations: 8 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.4281, allocations: 204.6 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4281, allocations: 0 / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.4284, allocations: 23.94 kB / 0.5683 GB, free: 13.11 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.002219/0.4306, allocations: 1.112 MB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.4308, allocations: 55.97 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4308, allocations: 4 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.4309, allocations: 23.92 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4312, allocations: 29.3 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.4334, allocations: 1.824 MB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.4338, allocations: 0.7197 MB / 0.572 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.015e-05/0.4339, allocations: 17.27 kB / 0.572 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.434, allocations: 43.42 kB / 0.5721 GB, free: 9.328 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.434, allocations: 7.875 kB / 0.5721 GB, free: 9.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.4574, allocations: 4.004 MB / 0.576 GB, free: 5.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.66, allocations: 6.641 kB / 0.576 GB, free: 5.398 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.868764576036483] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.881696689000819 11.909533068 11.481373132 Calling exit ...