Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.00165/0.00165, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001421/0.001421, allocations: 218.7 kB / 24.52 MB, free: 3.914 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.25/0.25, allocations: 46.95 MB / 361.7 MB, free: 4.02 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.91 kB / 0.4969 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4121, allocations: 66.03 MB / 0.5614 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003788/0.4159, allocations: 1.722 MB / 0.5631 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.4178, allocations: 0.9793 MB / 0.5641 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.4179, allocations: 3.938 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.4183, allocations: 39.77 kB / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.4187, allocations: 99.59 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.4189, allocations: 79.67 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.4191, allocations: 111.6 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4192, allocations: 17.8 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.4193, allocations: 43.78 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.4194, allocations: 39.84 kB / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.4195, allocations: 4 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.4197, allocations: 115.9 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.4198, allocations: 19.92 kB / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.4198, allocations: 31.8 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.4201, allocations: 175.4 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4202, allocations: 0 / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4202, allocations: 0 / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.4202, allocations: 4 kB / 0.5648 GB, free: 0.6914 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.0006608/0.4208, allocations: 365.3 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4209, allocations: 8.031 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.648e-05/0.4209, allocations: 4.188 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.4209, allocations: 34.75 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.421, allocations: 8.891 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.4213, allocations: 160 kB / 0.5654 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4213, allocations: 8.125 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.4214, allocations: 7.938 kB / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.4216, allocations: 93.09 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4216, allocations: 3.938 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4216, allocations: 0 / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4216, allocations: 0 / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.4217, allocations: 23.98 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.4221, allocations: 244 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.4223, allocations: 74.53 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.4224, allocations: 28.97 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.4224, allocations: 4 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.4226, allocations: 71.38 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.4226, allocations: 0 / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006547/0.4232, allocations: 213.2 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.4233, allocations: 81.11 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.4235, allocations: 173.8 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.4235, allocations: 29.7 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.4236, allocations: 100.1 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.4236, allocations: 35.69 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.4237, allocations: 33.64 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4238, allocations: 322.8 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.4239, allocations: 27.98 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.424, allocations: 87.75 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.4242, allocations: 77.64 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4242, allocations: 8 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002301/0.4244, allocations: 117.6 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4244, allocations: 12.06 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4244, allocations: 0 / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4244, allocations: 0 / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4245, allocations: 31.92 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4246, allocations: 7.875 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.4246, allocations: 3.984 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4246, allocations: 4 kB / 0.5672 GB, free: 14.01 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.0001155/0.4247, allocations: 125.8 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.4248, allocations: 11.91 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.4251, allocations: 130.8 kB / 0.5675 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4251, allocations: 11.94 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4251, allocations: 3.938 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4251, allocations: 0 / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.4257, allocations: 398.3 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4257, allocations: 4 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.4257, allocations: 19.92 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4257, allocations: 4 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4257, allocations: 0 / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.4257, allocations: 0 / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4257, allocations: 11.97 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.426, allocations: 220.3 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.4261, allocations: 15.91 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.4261, allocations: 4 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.4262, allocations: 3.984 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4262, allocations: 8 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.4262, allocations: 7.984 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.4264, allocations: 131.2 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4264, allocations: 0 / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.4267, allocations: 51.86 kB / 0.5683 GB, free: 12.78 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 (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.002656/0.4294, allocations: 1.261 MB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.4296, allocations: 75.91 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4296, allocations: 0 / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.4297, allocations: 43.98 kB / 0.5697 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4301, allocations: 31.95 kB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.4321, allocations: 1.689 MB / 0.5713 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.604e-05/0.4322, allocations: 85.31 kB / 0.5714 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.693e-05/0.4323, allocations: 20.7 kB / 0.5714 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.4324, allocations: 47.34 kB / 0.5715 GB, free: 9.648 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4324, allocations: 0 / 0.5715 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.4581, allocations: 4.625 MB / 0.576 GB, free: 5.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.86, allocations: 4.062 kB / 0.576 GB, free: 5.062 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.006956472992897] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.082083440967835 12.107522314 11.683620984 Calling exit ...