Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001595/0.001595, 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.002217/0.002217, allocations: 211.9 kB / 24.51 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.259/0.259, allocations: 46.97 MB / 361.7 MB, free: 4.012 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.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 71.89 kB / 0.497 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 66.03 MB / 0.5614 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003971/0.3761, allocations: 2.17 MB / 0.5635 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.3786, allocations: 1.26 MB / 0.5648 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.3788, allocations: 11.88 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.3793, allocations: 123.3 kB / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006845/0.38, allocations: 250.9 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.3805, allocations: 195.5 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007456/0.3812, allocations: 470.6 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.3814, allocations: 43.08 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.3819, allocations: 303 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3822, allocations: 171.2 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.3822, allocations: 16 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.3824, allocations: 79.97 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3826, allocations: 135.4 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3827, allocations: 134.9 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.3833, allocations: 457.6 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3833, allocations: 4 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3833, allocations: 0 / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.3833, allocations: 0 / 0.5671 GB, free: 14.4 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.001253/0.3846, allocations: 0.7644 MB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3846, allocations: 8.031 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.157e-05/0.3846, allocations: 8.172 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.3847, allocations: 46.73 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.3848, allocations: 64.52 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.3854, allocations: 351.2 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.3854, allocations: 16.12 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.3855, allocations: 15.95 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.3859, allocations: 205.5 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.3859, allocations: 3.938 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.386, allocations: 11.98 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.386, allocations: 4 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.3863, allocations: 99.86 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.3873, allocations: 0.7578 MB / 0.5693 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.388, allocations: 238.5 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3882, allocations: 91.52 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3882, allocations: 7.938 kB / 0.5697 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/0.3887, allocations: 208.2 kB / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.3887, allocations: 0 / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002825/0.3915, allocations: 1.159 MB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3916, allocations: 144.4 kB / 0.5711 GB, free: 9.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.3926, allocations: 0.8087 MB / 0.5719 GB, free: 9.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.3926, allocations: 45.64 kB / 0.572 GB, free: 9.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3928, allocations: 245 kB / 0.5722 GB, free: 8.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.393, allocations: 142.8 kB / 0.5723 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3931, allocations: 82.08 kB / 0.5724 GB, free: 8.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.3933, allocations: 386.7 kB / 0.5728 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.3936, allocations: 116.8 kB / 0.5729 GB, free: 8.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.3939, allocations: 187.2 kB / 0.5731 GB, free: 7.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.3945, allocations: 327 kB / 0.5734 GB, free: 7.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3945, allocations: 4 kB / 0.5734 GB, free: 7.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008995/0.3954, allocations: 452.8 kB / 0.5738 GB, free: 7.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3954, allocations: 4 kB / 0.5738 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3954, allocations: 4 kB / 0.5738 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.3955, allocations: 7.984 kB / 0.5738 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.3958, allocations: 91.89 kB / 0.5739 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.3958, allocations: 11.88 kB / 0.5739 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.396, allocations: 24.05 kB / 0.574 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.396, allocations: 16 kB / 0.574 GB, free: 6.973 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.0003537/0.3964, allocations: 232.2 kB / 0.5742 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3965, allocations: 67.53 kB / 0.5743 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3977, allocations: 0.5194 MB / 0.5748 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3977, allocations: 8 kB / 0.5748 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.3977, allocations: 3.938 kB / 0.5748 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3977, allocations: 3.984 kB / 0.5748 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.3997, allocations: 1.283 MB / 0.576 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3997, allocations: 0 / 0.576 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3999, allocations: 67.94 kB / 0.5761 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.3999, allocations: 11.94 kB / 0.5761 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.4, allocations: 19.98 kB / 0.5761 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.4, allocations: 8.25 kB / 0.5761 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.4, allocations: 11.92 kB / 0.5762 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4011, allocations: 0.8241 MB / 0.577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.4013, allocations: 103.5 kB / 0.5771 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4014, allocations: 19.98 kB / 0.5771 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.4017, allocations: 15.98 kB / 0.5771 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4018, allocations: 47.81 kB / 0.5771 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.4019, allocations: 19.94 kB / 0.5772 GB, free: 3.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008268/0.4027, allocations: 0.6006 MB / 0.5777 GB, free: 2.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4027, allocations: 0 / 0.5777 GB, free: 2.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006338/0.4034, allocations: 95.92 kB / 0.5778 GB, free: 2.879 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 (48): * Single equations (assignments): 40 * 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.003582/0.4069, allocations: 1.829 MB / 0.5796 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007345/0.4077, allocations: 322.6 kB / 0.5799 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4077, allocations: 0 / 0.5799 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.408, allocations: 172.2 kB / 0.5801 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4091, allocations: 128.2 kB / 0.5802 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/0.4168, allocations: 4.8 MB / 0.5849 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4171, allocations: 289 kB / 0.5852 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.4174, allocations: 87.23 kB / 0.5853 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.4177, allocations: 195.3 kB / 0.5854 GB, free: 11.08 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4177, allocations: 0 / 0.5854 GB, free: 11.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04052/0.4583, allocations: 11.73 MB / 0.5969 GB, free: 15.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.84, allocations: 21.75 kB / 0.5969 GB, free: 15.46 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.00947163195815] 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'] 13.061730167013593 13.079301958 12.692762943 Calling exit ...