Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001582/0.001582, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001988/0.001988, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2339/0.2339, allocations: 46.96 MB / 361.7 MB, free: 4.07 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.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.91 kB / 0.4969 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4183, allocations: 66.03 MB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003503/0.4218, allocations: 1.713 MB / 0.5631 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.4237, allocations: 0.9715 MB / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.4238, allocations: 7.938 kB / 0.564 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.4242, allocations: 43.83 kB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.4245, allocations: 107.5 kB / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.4248, allocations: 83.66 kB / 0.5643 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.425, allocations: 103.7 kB / 0.5644 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4251, allocations: 9.828 kB / 0.5644 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.4252, allocations: 43.78 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.4253, allocations: 39.72 kB / 0.5645 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.4253, allocations: 4 kB / 0.5645 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.4254, allocations: 43.98 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.4255, allocations: 27.91 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.4256, allocations: 31.75 kB / 0.5646 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.4258, allocations: 143.4 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4259, allocations: 0 / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4259, allocations: 0 / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4259, allocations: 0 / 0.5647 GB, free: 0.875 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.0007246/0.4266, allocations: 377.2 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.4266, allocations: 12.03 kB / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.507e-05/0.4267, allocations: 4.188 kB / 0.5651 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.4267, allocations: 30.75 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.4268, allocations: 20.84 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.4271, allocations: 163.3 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.4271, allocations: 4.125 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4272, allocations: 4 kB / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.4273, allocations: 53.67 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4273, allocations: 0 / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4274, allocations: 0 / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.4274, allocations: 0 / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.4275, allocations: 23.92 kB / 0.5654 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.4279, allocations: 279.8 kB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.4281, allocations: 58.67 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.4282, allocations: 16.86 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.4282, allocations: 7.938 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.4284, allocations: 71.38 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.4284, allocations: 3.938 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006281/0.429, allocations: 193.2 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.4291, allocations: 55.41 kB / 0.566 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.4294, allocations: 278.7 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.4294, allocations: 33.7 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4295, allocations: 116.1 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.4295, allocations: 23.78 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.4296, allocations: 21.72 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4298, allocations: 334.8 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.4298, allocations: 16 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.4299, allocations: 37.7 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4301, allocations: 65.64 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4301, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.4303, allocations: 117.5 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4303, allocations: 10.5 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4303, allocations: 0 / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4303, allocations: 0 / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4304, allocations: 15.98 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.4304, allocations: 7.938 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.4305, allocations: 4 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4305, allocations: 4 kB / 0.5671 GB, free: 14.25 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.0001319/0.4306, allocations: 133.8 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.4307, allocations: 23.92 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.431, allocations: 123 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.431, allocations: 4 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.431, allocations: 3.938 kB / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.431, allocations: 0 / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.4315, allocations: 378.4 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4315, allocations: 0 / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.4315, allocations: 19.92 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4315, allocations: 3.938 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4316, allocations: 4.312 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.4316, allocations: 4.234 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4316, allocations: 0 / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.4318, allocations: 220.2 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.4319, allocations: 23.83 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.4319, allocations: 8.312 kB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.432, allocations: 0 / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.432, allocations: 7.984 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.432, allocations: 12 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.4322, allocations: 204.6 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4322, allocations: 4 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.4325, allocations: 31.89 kB / 0.5682 GB, free: 12.97 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 (9): * Single equations (assignments): 7 * 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.00247/0.435, allocations: 1.13 MB / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.4352, allocations: 67.91 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4352, allocations: 0 / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.978e-05/0.4353, allocations: 31.86 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.4356, allocations: 28.42 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.4379, allocations: 1.847 MB / 0.5712 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.438, allocations: 109.2 kB / 0.5713 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.4381, allocations: 17.27 kB / 0.5714 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.4382, allocations: 43.42 kB / 0.5714 GB, free: 9.789 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4382, allocations: 0 / 0.5714 GB, free: 9.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.4636, allocations: 4.148 MB / 0.5754 GB, free: 5.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.9, allocations: 4 kB / 0.5755 GB, free: 5.715 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.957714212010615] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.122214172035456 12.139644806 11.710040001 Calling exit ...