Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001767/0.001767, allocations: 108.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002337/0.002337, allocations: 218.2 kB / 23 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 230.2 MB / 256.2 MB, free: 8.707 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2358/0.2358, allocations: 46.9 MB / 359.4 MB, free: 4.934 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 79.88 kB / 0.4942 GB, free: 8.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3597, allocations: 65.98 MB / 0.5587 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003992/0.3637, allocations: 2.289 MB / 0.5609 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.3661, allocations: 1.346 MB / 0.5622 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.3663, allocations: 7.938 kB / 0.5622 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.3668, allocations: 119.3 kB / 0.5624 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.3673, allocations: 250.9 kB / 0.5626 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.3678, allocations: 191.5 kB / 0.5628 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005885/0.3684, allocations: 458.6 kB / 0.5632 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.3686, allocations: 42.89 kB / 0.5633 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.369, allocations: 307 kB / 0.5635 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.3693, allocations: 167.1 kB / 0.5637 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.3693, allocations: 16 kB / 0.5637 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.3695, allocations: 79.97 kB / 0.5638 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.3696, allocations: 135.4 kB / 0.5639 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3698, allocations: 178.6 kB / 0.5641 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.3705, allocations: 445.7 kB / 0.5645 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3705, allocations: 0 / 0.5645 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3705, allocations: 0 / 0.5645 GB, free: 15.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3705, allocations: 0 / 0.5645 GB, free: 15.12 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.001288/0.3718, allocations: 0.8436 MB / 0.5653 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3718, allocations: 16.02 kB / 0.5654 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.769e-05/0.3719, allocations: 46.73 kB / 0.5654 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.372, allocations: 64.52 kB / 0.5655 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.3727, allocations: 425 kB / 0.5659 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.3727, allocations: 12.36 kB / 0.5659 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.3727, allocations: 20.33 kB / 0.5659 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.3731, allocations: 193.1 kB / 0.5661 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.3731, allocations: 7.938 kB / 0.5661 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.3732, allocations: 4 kB / 0.5661 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3732, allocations: 4 kB / 0.5661 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.3734, allocations: 103.8 kB / 0.5662 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/0.3744, allocations: 0.8016 MB / 0.567 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.3751, allocations: 226.5 kB / 0.5672 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3753, allocations: 87.52 kB / 0.5673 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.3753, allocations: 7.938 kB / 0.5673 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.3757, allocations: 196.5 kB / 0.5675 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.3757, allocations: 3.938 kB / 0.5675 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002859/0.3786, allocations: 1.136 MB / 0.5686 GB, free: 10.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.3787, allocations: 144.4 kB / 0.5687 GB, free: 10.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009708/0.3797, allocations: 0.793 MB / 0.5695 GB, free: 9.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.3797, allocations: 37.7 kB / 0.5695 GB, free: 9.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.3799, allocations: 241 kB / 0.5698 GB, free: 9.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.3801, allocations: 154.8 kB / 0.5699 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3802, allocations: 74.09 kB / 0.57 GB, free: 9.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.3805, allocations: 382.6 kB / 0.5704 GB, free: 8.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.3807, allocations: 116.8 kB / 0.5705 GB, free: 8.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.381, allocations: 183.2 kB / 0.5706 GB, free: 8.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.3816, allocations: 318.8 kB / 0.5709 GB, free: 8.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3816, allocations: 4 kB / 0.5709 GB, free: 8.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007953/0.3824, allocations: 436.9 kB / 0.5714 GB, free: 7.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3824, allocations: 4 kB / 0.5714 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3824, allocations: 4 kB / 0.5714 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.3824, allocations: 4 kB / 0.5714 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.3827, allocations: 83.89 kB / 0.5715 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3827, allocations: 7.938 kB / 0.5715 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3829, allocations: 24.11 kB / 0.5715 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.3829, allocations: 19.94 kB / 0.5715 GB, free: 7.582 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.0002885/0.3832, allocations: 231.9 kB / 0.5717 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3833, allocations: 67.53 kB / 0.5718 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.3843, allocations: 0.4956 MB / 0.5723 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3843, allocations: 8 kB / 0.5723 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3844, allocations: 4 kB / 0.5723 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3844, allocations: 0 / 0.5723 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.3862, allocations: 1.311 MB / 0.5736 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3862, allocations: 0 / 0.5736 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.3864, allocations: 68 kB / 0.5736 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/0.3864, allocations: 11.92 kB / 0.5736 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.3864, allocations: 15.98 kB / 0.5737 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.3864, allocations: 11.94 kB / 0.5737 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/0.3864, allocations: 3.984 kB / 0.5737 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.3874, allocations: 0.797 MB / 0.5745 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.3876, allocations: 172.6 kB / 0.5746 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.3877, allocations: 16 kB / 0.5746 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.388, allocations: 15.98 kB / 0.5746 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.3881, allocations: 51.83 kB / 0.5747 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.3881, allocations: 19.98 kB / 0.5747 GB, free: 4.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007545/0.3889, allocations: 0.5811 MB / 0.5753 GB, free: 3.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3889, allocations: 0 / 0.5753 GB, free: 3.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005601/0.3894, allocations: 95.86 kB / 0.5754 GB, free: 3.453 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 (44): * Single equations (assignments): 36 * 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.00326/0.3927, allocations: 1.744 MB / 0.5771 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007472/0.3934, allocations: 304.2 kB / 0.5774 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3934, allocations: 0 / 0.5774 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.3937, allocations: 147.7 kB / 0.5775 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.395, allocations: 134.4 kB / 0.5776 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/0.402, allocations: 4.763 MB / 0.5823 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.4027, allocations: 0.8821 MB / 0.5832 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.4029, allocations: 83.27 kB / 0.5832 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.4032, allocations: 195.4 kB / 0.5834 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4032, allocations: 4 kB / 0.5834 GB, free: 11.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.4413, allocations: 10.92 MB / 0.5941 GB, free: 292 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.796/9.237, allocations: 3.938 kB / 0.5941 GB, free: 288 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.250482438015752] 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'] 9.366131910996046 9.391690779 9.016203387 Calling exit ...