Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001294/0.001294, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.4/1.4, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.93 MB / 361.6 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 75.88 kB / 0.497 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3092, allocations: 66.09 MB / 0.5615 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003468/0.3126, allocations: 1.972 MB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3145, allocations: 1.049 MB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3146, allocations: 7.875 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.3149, allocations: 55.62 kB / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.3153, allocations: 111.4 kB / 0.5646 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.3155, allocations: 115.6 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.3158, allocations: 211.4 kB / 0.5649 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3159, allocations: 23.62 kB / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3161, allocations: 83.64 kB / 0.565 GB, free: 384 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3162, allocations: 87.55 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.3162, allocations: 12 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3164, allocations: 51.98 kB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.3164, allocations: 35.84 kB / 0.5652 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.3165, allocations: 63.64 kB / 0.5653 GB, free: 132 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.3168, allocations: 203.1 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3169, allocations: 0 / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3169, allocations: 0 / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3169, allocations: 4 kB / 0.5655 GB, free: 15.93 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009941/0.3179, allocations: 0.4887 MB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.3179, allocations: 12.03 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.399e-05/0.3179, allocations: 4.188 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.318, allocations: 42.73 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.318, allocations: 16.84 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.3184, allocations: 190.1 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3184, allocations: 12.34 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.3184, allocations: 8.375 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.3189, allocations: 177.8 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3189, allocations: 3.938 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3189, allocations: 0 / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3189, allocations: 4 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.3193, allocations: 115.9 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.32, allocations: 0.5 MB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.3206, allocations: 162.6 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.3209, allocations: 72.73 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3209, allocations: 3.938 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.3213, allocations: 161 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.3213, allocations: 0 / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008696/0.3222, allocations: 265.3 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.3222, allocations: 55.34 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.3225, allocations: 242.2 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.3225, allocations: 29.7 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3226, allocations: 132.4 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.3227, allocations: 35.69 kB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.3227, allocations: 41.66 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3229, allocations: 330.8 kB / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.3232, allocations: 97.64 kB / 0.5685 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.3234, allocations: 136.7 kB / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.3239, allocations: 201.1 kB / 0.5689 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3239, allocations: 0 / 0.5689 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006622/0.3246, allocations: 288.7 kB / 0.5691 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.3246, allocations: 37.69 kB / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3247, allocations: 0 / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3247, allocations: 4 kB / 0.5692 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.3249, allocations: 35.91 kB / 0.5692 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3249, allocations: 3.938 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.325, allocations: 36.02 kB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3251, allocations: 4 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001358/0.3252, allocations: 143.1 kB / 0.5694 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.3252, allocations: 15.91 kB / 0.5694 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.3258, allocations: 222.9 kB / 0.5696 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3258, allocations: 0 / 0.5696 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3259, allocations: 7.938 kB / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3259, allocations: 0 / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.3261, allocations: 192.6 kB / 0.5698 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3261, allocations: 0 / 0.5698 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3262, allocations: 23.97 kB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3262, allocations: 0 / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3262, allocations: 11.98 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3262, allocations: 0 / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3262, allocations: 3.938 kB / 0.5699 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.3271, allocations: 324 kB / 0.5702 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.3271, allocations: 19.83 kB / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.3271, allocations: 8 kB / 0.5702 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.3273, allocations: 23.97 kB / 0.5702 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.3274, allocations: 23.97 kB / 0.5702 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3274, allocations: 7.984 kB / 0.5702 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3276, allocations: 180.5 kB / 0.5704 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3276, allocations: 0 / 0.5704 GB, free: 10.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.3278, allocations: 35.94 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002634/0.3305, allocations: 1.178 MB / 0.5716 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.3311, allocations: 244.9 kB / 0.5718 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3311, allocations: 4 kB / 0.5718 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.3314, allocations: 79.75 kB / 0.5719 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3317, allocations: 52.58 kB / 0.572 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.3351, allocations: 2.301 MB / 0.5742 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.3352, allocations: 116.1 kB / 0.5743 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.99e-05/0.3353, allocations: 21.47 kB / 0.5743 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.3354, allocations: 63.41 kB / 0.5744 GB, free: 6.344 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3354, allocations: 0 / 0.5744 GB, free: 6.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.3623, allocations: 5.526 MB / 0.5798 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.12, allocations: 4 kB / 0.5798 GB, free: 0.8633 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.006537433946505] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.331715948996134 11.346737936 11.026993263 Calling exit ...