Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 109.1 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 211.8 kB / 24.51 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 46.97 MB / 361.7 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 71.83 kB / 0.4969 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 66.03 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003352/0.3293, allocations: 1.665 MB / 0.563 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3311, allocations: 0.952 MB / 0.564 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.3312, allocations: 0 / 0.564 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.3316, allocations: 59.73 kB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.332, allocations: 111.5 kB / 0.5641 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3323, allocations: 79.72 kB / 0.5642 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.3325, allocations: 107.6 kB / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.314e-05/0.3326, allocations: 4.234 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3327, allocations: 51.77 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3328, allocations: 43.84 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.3328, allocations: 4 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.3329, allocations: 31.97 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.333, allocations: 19.92 kB / 0.5645 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.3331, allocations: 31.75 kB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3333, allocations: 109.4 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3333, allocations: 4 kB / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3333, allocations: 0 / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3333, allocations: 0 / 0.5646 GB, free: 0.9297 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000654/0.334, allocations: 337.6 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.334, allocations: 8.031 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.816e-05/0.334, allocations: 4.188 kB / 0.5649 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.3341, allocations: 30.75 kB / 0.565 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.3341, allocations: 16.84 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.3345, allocations: 159 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3345, allocations: 8.062 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3345, allocations: 0 / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3347, allocations: 49.67 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3347, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3347, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3347, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.877e-05/0.3348, allocations: 19.98 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.335, allocations: 156.7 kB / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3352, allocations: 54.5 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.3353, allocations: 24.84 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3353, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.3355, allocations: 63.39 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.3355, allocations: 0 / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003248/0.3358, allocations: 105.6 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.3359, allocations: 55.34 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3361, allocations: 194.3 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3361, allocations: 33.64 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.3362, allocations: 100.1 kB / 0.566 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.3362, allocations: 23.84 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.3363, allocations: 17.72 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3364, allocations: 322.8 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.3364, allocations: 15.98 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.3365, allocations: 29.7 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3366, allocations: 53.64 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3366, allocations: 0 / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001637/0.3368, allocations: 85.53 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3368, allocations: 8.031 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3368, allocations: 0 / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3368, allocations: 0 / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.3369, allocations: 16.3 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3369, allocations: 3.938 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.3369, allocations: 8 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3369, allocations: 0 / 0.5665 GB, free: 14.76 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 (7): * Single equations (assignments): 7 * 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.000126/0.3371, allocations: 133.8 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3371, allocations: 15.89 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.3373, allocations: 86.77 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3373, allocations: 8 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3373, allocations: 3.984 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3373, allocations: 0 / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.3375, allocations: 160.6 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3375, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.3375, allocations: 11.94 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3375, allocations: 0 / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.3375, allocations: 0 / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3375, allocations: 3.984 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3375, allocations: 0 / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3377, allocations: 129 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.3378, allocations: 11.91 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3378, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.3378, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3379, allocations: 7.984 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3379, allocations: 4 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.338, allocations: 148.2 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.338, allocations: 0 / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3382, allocations: 23.94 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002071/0.3403, allocations: 0.9928 MB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.3405, allocations: 43.91 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3405, allocations: 4 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.532e-05/0.3406, allocations: 19.98 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3408, allocations: 27.8 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3427, allocations: 1.526 MB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3428, allocations: 93.38 kB / 0.5699 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.3428, allocations: 16.48 kB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.3429, allocations: 35.36 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3429, allocations: 0 / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.3663, allocations: 3.497 MB / 0.5733 GB, free: 7.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.6, allocations: 6.469 kB / 0.5733 GB, free: 7.816 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.691793235950172] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.828626363072544 11.849214829 11.512717835 Calling exit ...