Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001286/0.001286, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.00138/0.00138, allocations: 211 kB / 24.53 MB, free: 4.07 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.372/1.372, allocations: 230.5 MB / 258.2 MB, free: 8.039 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: 4.195 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 83.86 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3386, allocations: 66.08 MB / 0.5616 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003238/0.3418, allocations: 1.74 MB / 0.5633 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3435, allocations: 1.049 MB / 0.5643 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.3436, allocations: 11.88 kB / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.3439, allocations: 43.81 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.3442, allocations: 103.5 kB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.3444, allocations: 79.67 kB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3446, allocations: 103.7 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.143e-05/0.3446, allocations: 14.23 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.788e-05/0.3447, allocations: 47.8 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.3448, allocations: 39.7 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3448, allocations: 4 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.3449, allocations: 39.98 kB / 0.5648 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.345, allocations: 27.86 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.345, allocations: 39.69 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3453, allocations: 143.4 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3453, allocations: 0 / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3453, allocations: 3.938 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3453, allocations: 0 / 0.565 GB, free: 0.9453 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.0005537/0.3458, allocations: 381.2 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3459, allocations: 12.03 kB / 0.5653 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.3459, allocations: 4.188 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.3459, allocations: 30.75 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.3459, allocations: 16.84 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3462, allocations: 167.2 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3462, allocations: 4.359 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3462, allocations: 4.375 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3464, allocations: 65.55 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3464, allocations: 0 / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3464, allocations: 0 / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3464, allocations: 0 / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/0.3465, allocations: 19.98 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.3469, allocations: 267.9 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.347, allocations: 62.61 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.3471, allocations: 20.84 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3471, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.3473, allocations: 67.39 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3473, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000514/0.3478, allocations: 185.3 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3478, allocations: 55.41 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.3481, allocations: 270.8 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3481, allocations: 25.7 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.3482, allocations: 116.1 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3482, allocations: 31.77 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3483, allocations: 21.72 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3484, allocations: 334.7 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.3485, allocations: 24.36 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.3486, allocations: 37.64 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3487, allocations: 65.77 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3487, allocations: 4 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.3489, allocations: 105.5 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3489, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3489, allocations: 4.031 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3489, allocations: 7.938 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.349, allocations: 19.98 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.349, allocations: 0 / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.349, allocations: 4 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.349, allocations: 3.938 kB / 0.5673 GB, free: 14.34 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 (10): * Single equations (assignments): 10 * 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.0001154/0.3492, allocations: 139.1 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3492, allocations: 15.91 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.3494, allocations: 123 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3495, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3495, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3495, allocations: 3.984 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.3499, allocations: 374.4 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3499, allocations: 0 / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.35, allocations: 11.98 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.35, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.35, allocations: 3.938 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.35, allocations: 8.031 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.35, allocations: 3.938 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3502, allocations: 204.3 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.3503, allocations: 11.91 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3503, allocations: 11.92 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.3503, allocations: 0 / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.3504, allocations: 19.97 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3504, allocations: 4 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.3506, allocations: 200.6 kB / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3506, allocations: 0 / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3508, allocations: 27.92 kB / 0.5684 GB, free: 13.11 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 (8): * Single equations (assignments): 6 * 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.002121/0.353, allocations: 1.099 MB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3532, allocations: 63.89 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3532, allocations: 4.062 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.3532, allocations: 23.98 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3536, allocations: 27.92 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3556, allocations: 1.824 MB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.356, allocations: 0.7275 MB / 0.5721 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.3561, allocations: 13.28 kB / 0.5721 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.3562, allocations: 43.41 kB / 0.5721 GB, free: 9.309 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3562, allocations: 0 / 0.5721 GB, free: 9.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.3795, allocations: 4 MB / 0.576 GB, free: 5.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.92, allocations: 3.938 kB / 0.576 GB, free: 5.359 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.667927275004331] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.125244071008638 11.140033177 10.791804725 Calling exit ...