Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001229/0.001229, 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.001705/0.001705, allocations: 213.5 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.452/1.452, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2248/0.2248, allocations: 46.96 MB / 361.6 MB, free: 3.945 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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 79.88 kB / 0.497 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3153, allocations: 66.08 MB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00357/0.3188, allocations: 2.17 MB / 0.5636 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.321, allocations: 1.266 MB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3211, allocations: 7.938 kB / 0.5649 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.3215, allocations: 119.3 kB / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.3221, allocations: 254.9 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.3224, allocations: 191.6 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.323, allocations: 466.5 kB / 0.5659 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3231, allocations: 55.05 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.3235, allocations: 287.1 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.3237, allocations: 171.1 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.3237, allocations: 24 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3239, allocations: 79.95 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.324, allocations: 139.4 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3242, allocations: 138.8 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.3247, allocations: 449.8 kB / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3247, allocations: 3.938 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3247, allocations: 0 / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3247, allocations: 0 / 0.5671 GB, free: 14.23 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.001023/0.3257, allocations: 0.7566 MB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3257, allocations: 12.03 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.409e-05/0.3258, allocations: 8.188 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.3258, allocations: 46.73 kB / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.3259, allocations: 64.52 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.3264, allocations: 343.2 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.3264, allocations: 16.36 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.3265, allocations: 16.33 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.3269, allocations: 208.8 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.3269, allocations: 11.94 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.3269, allocations: 7.984 kB / 0.5686 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3269, allocations: 4 kB / 0.5686 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.3272, allocations: 99.86 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009607/0.3282, allocations: 0.7578 MB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006831/0.3288, allocations: 246.4 kB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.329, allocations: 91.52 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3291, allocations: 7.938 kB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.3294, allocations: 204.2 kB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.3294, allocations: 0 / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002518/0.332, allocations: 1.168 MB / 0.5711 GB, free: 9.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.332, allocations: 136.5 kB / 0.5712 GB, free: 9.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.3329, allocations: 0.8165 MB / 0.572 GB, free: 8.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.333, allocations: 33.7 kB / 0.5721 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.3332, allocations: 245 kB / 0.5723 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3333, allocations: 150.8 kB / 0.5724 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.3334, allocations: 78.08 kB / 0.5725 GB, free: 8.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3336, allocations: 382.7 kB / 0.5729 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.3339, allocations: 120.8 kB / 0.573 GB, free: 7.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.3341, allocations: 191.2 kB / 0.5732 GB, free: 7.758 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.3347, allocations: 326.7 kB / 0.5735 GB, free: 7.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3347, allocations: 0 / 0.5735 GB, free: 7.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007707/0.3355, allocations: 452.9 kB / 0.5739 GB, free: 6.965 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3355, allocations: 7.938 kB / 0.5739 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3355, allocations: 4 kB / 0.5739 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3355, allocations: 4 kB / 0.5739 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.3358, allocations: 91.83 kB / 0.574 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.3358, allocations: 4 kB / 0.574 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3359, allocations: 27.86 kB / 0.574 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.336, allocations: 20.12 kB / 0.5741 GB, free: 6.809 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.0002402/0.3362, allocations: 233.5 kB / 0.5743 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.3363, allocations: 67.53 kB / 0.5743 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009882/0.3373, allocations: 0.5223 MB / 0.5749 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3373, allocations: 8 kB / 0.5749 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3373, allocations: 0 / 0.5749 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3373, allocations: 7.922 kB / 0.5749 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.339, allocations: 1.29 MB / 0.5761 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.339, allocations: 4 kB / 0.5761 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.3392, allocations: 67.91 kB / 0.5762 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3392, allocations: 4 kB / 0.5762 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.3393, allocations: 15.98 kB / 0.5762 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3393, allocations: 4 kB / 0.5762 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.3393, allocations: 12.19 kB / 0.5762 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.3402, allocations: 0.8279 MB / 0.577 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.3404, allocations: 103.5 kB / 0.5771 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.3405, allocations: 19.98 kB / 0.5772 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.3407, allocations: 15.98 kB / 0.5772 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.3408, allocations: 47.86 kB / 0.5772 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.3409, allocations: 24 kB / 0.5772 GB, free: 3.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006338/0.3415, allocations: 0.5889 MB / 0.5778 GB, free: 2.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3415, allocations: 4 kB / 0.5778 GB, free: 2.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.342, allocations: 95.92 kB / 0.5779 GB, free: 2.715 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.003161/0.3452, allocations: 1.828 MB / 0.5797 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.3458, allocations: 318.7 kB / 0.58 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3458, allocations: 0 / 0.58 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.3461, allocations: 159.6 kB / 0.5802 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009023/0.347, allocations: 123.9 kB / 0.5803 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006027/0.353, allocations: 4.797 MB / 0.585 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3534, allocations: 289 kB / 0.5852 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.3536, allocations: 79.23 kB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.3538, allocations: 195.4 kB / 0.5855 GB, free: 10.9 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3538, allocations: 0 / 0.5855 GB, free: 10.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.3882, allocations: 11.74 MB / 0.597 GB, free: 15.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.92, allocations: 7.984 kB / 0.597 GB, free: 15.22 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.847330481978133] 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'] 12.131521975970827 12.146732786 11.819161818 Calling exit ...