Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001201/0.001201, allocations: 109.1 kB / 21.22 MB, free: 0.75 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.001388/0.001388, allocations: 212.2 kB / 24.53 MB, free: 4.148 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.387/1.387, allocations: 230.5 MB / 258.2 MB, free: 8.207 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.2179/0.2179, allocations: 46.93 MB / 361.6 MB, free: 4.234 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 79.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3205, allocations: 66.08 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003198/0.3237, allocations: 1.831 MB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3258, allocations: 1.129 MB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.804e-05/0.3259, allocations: 3.938 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.3264, allocations: 307.3 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005073/0.3269, allocations: 263.2 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.3272, allocations: 111.6 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.3275, allocations: 263.2 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.3276, allocations: 5.812 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.3278, allocations: 143.5 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.3281, allocations: 211.5 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3281, allocations: 11.94 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3282, allocations: 51.97 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.3284, allocations: 143.5 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.3285, allocations: 146.8 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.329, allocations: 384 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.329, allocations: 0 / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.329, allocations: 4 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.329, allocations: 0 / 0.5664 GB, free: 15.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001081/0.3301, allocations: 0.6863 MB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3301, allocations: 8.031 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.609e-05/0.3301, allocations: 4.188 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.3302, allocations: 38.73 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.3302, allocations: 56.61 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.3309, allocations: 398.5 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3309, allocations: 8.375 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.331, allocations: 384 / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.3312, allocations: 95.25 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3312, allocations: 3.984 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3312, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3312, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3313, allocations: 31.98 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.3317, allocations: 353.4 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.3321, allocations: 101.2 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.3322, allocations: 37.7 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3322, allocations: 7.938 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.3324, allocations: 105 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3324, allocations: 0 / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005194/0.333, allocations: 205.2 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.333, allocations: 85.11 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.3343, allocations: 1.054 MB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3343, allocations: 29.69 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3345, allocations: 240.1 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.3346, allocations: 27.8 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.3346, allocations: 29.7 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3348, allocations: 374.7 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.79e-05/0.3349, allocations: 31.98 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.335, allocations: 54.42 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3352, allocations: 95.34 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3352, allocations: 0 / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003352/0.3355, allocations: 181 kB / 0.5706 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3355, allocations: 7.984 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3355, allocations: 0 / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3356, allocations: 4 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3357, allocations: 16 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3357, allocations: 7.984 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3358, allocations: 16.62 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3358, allocations: 4 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002527/0.3361, allocations: 226.6 kB / 0.5709 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.3361, allocations: 55.56 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.3366, allocations: 201.8 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3366, allocations: 0 / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3366, allocations: 0 / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.3366, allocations: 4 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.337, allocations: 324.5 kB / 0.5714 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.337, allocations: 4 kB / 0.5714 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.3371, allocations: 11.98 kB / 0.5714 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3371, allocations: 0 / 0.5714 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3371, allocations: 7.984 kB / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3371, allocations: 0 / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3371, allocations: 0 / 0.5714 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.3375, allocations: 229.4 kB / 0.5717 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3376, allocations: 67.59 kB / 0.5717 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.3377, allocations: 4 kB / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.3377, allocations: 0 / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3378, allocations: 11.98 kB / 0.5717 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.3378, allocations: 11.98 kB / 0.5717 GB, free: 9.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009761/0.3388, allocations: 0.7839 MB / 0.5725 GB, free: 8.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3388, allocations: 0 / 0.5725 GB, free: 8.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3391, allocations: 40 kB / 0.5726 GB, free: 8.684 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002111/0.3412, allocations: 1.058 MB / 0.5736 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3414, allocations: 71.97 kB / 0.5737 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3415, allocations: 8.062 kB / 0.5737 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3416, allocations: 39.91 kB / 0.5737 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.342, allocations: 68.97 kB / 0.5738 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006041/0.348, allocations: 4.579 MB / 0.5782 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.3486, allocations: 0.8468 MB / 0.5791 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.3488, allocations: 62.94 kB / 0.5791 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.349, allocations: 155.4 kB / 0.5793 GB, free: 1.777 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.349, allocations: 0 / 0.5793 GB, free: 1.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.38, allocations: 9.405 MB / 0.5885 GB, free: 8.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.53, allocations: 8 kB / 0.5885 GB, free: 8.41 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.364277229993604] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 11.747339137014933 11.762728654 11.430761844 Calling exit ...