Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001264/0.001264, 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.001403/0.001403, allocations: 207.4 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.382/1.382, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2119/0.2119, allocations: 46.93 MB / 361.6 MB, free: 4.164 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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 71.89 kB / 0.497 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3115, allocations: 66.08 MB / 0.5616 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003041/0.3145, allocations: 1.749 MB / 0.5633 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.317, allocations: 1.734 MB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.3171, allocations: 3.938 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3174, allocations: 43.72 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.3177, allocations: 95.59 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.3179, allocations: 79.67 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3181, allocations: 111.7 kB / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.3182, allocations: 6.25 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.3183, allocations: 59.7 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3184, allocations: 39.84 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3184, allocations: 7.938 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.3186, allocations: 111.9 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.3187, allocations: 23.91 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.3187, allocations: 31.8 kB / 0.5655 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.319, allocations: 171.3 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.319, allocations: 0 / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.319, allocations: 7.938 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.319, allocations: 0 / 0.5657 GB, free: 132 kB / 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.0006251/0.3197, allocations: 349.7 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3197, allocations: 12.03 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.657e-05/0.3197, allocations: 192 / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.3198, allocations: 34.73 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.3198, allocations: 12.84 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.3201, allocations: 150.9 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3201, allocations: 12.12 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.3202, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3203, allocations: 79.31 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3203, allocations: 3.938 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3204, allocations: 0 / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3204, allocations: 0 / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.3204, allocations: 23.97 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.3209, allocations: 256 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.321, allocations: 62.61 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.3211, allocations: 12.86 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3211, allocations: 4 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.3213, allocations: 67.39 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3213, allocations: 0 / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005639/0.3218, allocations: 173.3 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.3219, allocations: 81.11 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3221, allocations: 166.4 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3221, allocations: 25.7 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.3222, allocations: 100.1 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.3222, allocations: 35.72 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.3223, allocations: 25.72 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3224, allocations: 326.8 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.3225, allocations: 19.98 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.809e-05/0.3226, allocations: 46.5 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3227, allocations: 54.09 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3227, allocations: 4.031 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.3229, allocations: 101.6 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3229, allocations: 4 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3229, allocations: 4 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3229, allocations: 4 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.323, allocations: 15.98 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.323, allocations: 7.875 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.3231, allocations: 4 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3231, allocations: 8 kB / 0.5679 GB, free: 13.66 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.0001093/0.3232, allocations: 119.2 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3233, allocations: 7.953 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.3235, allocations: 114.4 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3235, allocations: 4 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3235, allocations: 3.938 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3235, allocations: 0 / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.324, allocations: 366.5 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.324, allocations: 4.031 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.3241, allocations: 15.92 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3241, allocations: 7.938 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3241, allocations: 0 / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3241, allocations: 80 / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3241, allocations: 3.984 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3243, allocations: 200.3 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.3244, allocations: 19.88 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3244, allocations: 8 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.3245, allocations: 0 / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3245, allocations: 7.984 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3245, allocations: 7.938 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3246, allocations: 127.9 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3246, allocations: 0 / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.3249, allocations: 51.86 kB / 0.5689 GB, free: 12.52 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.002458/0.3274, allocations: 1.182 MB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3276, allocations: 67.89 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3276, allocations: 0 / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.456e-05/0.3277, allocations: 27.94 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.328, allocations: 27.91 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.33, allocations: 1.589 MB / 0.5718 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3303, allocations: 0.704 MB / 0.5724 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.004e-05/0.3304, allocations: 17.27 kB / 0.5725 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.3305, allocations: 39.42 kB / 0.5725 GB, free: 8.918 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3305, allocations: 4 kB / 0.5725 GB, free: 8.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.356, allocations: 4.222 MB / 0.5766 GB, free: 4.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.97, allocations: 8 kB / 0.5766 GB, free: 4.703 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.743498852010816] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.176309317001142 11.190670854 10.8686272 Calling exit ...