Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001695/0.001695, allocations: 116.1 kB / 21.23 MB, free: 0.6016 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.001584/0.001584, allocations: 221 kB / 24.54 MB, free: 3.812 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.91 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 68.08 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3193, allocations: 65.48 MB / 0.5579 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003144/0.3224, allocations: 1.696 MB / 0.5595 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3242, allocations: 1.026 MB / 0.5605 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.3243, allocations: 3.938 kB / 0.5605 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.3246, allocations: 55.75 kB / 0.5606 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.3249, allocations: 95.61 kB / 0.5607 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.3251, allocations: 79.66 kB / 0.5607 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3252, allocations: 95.7 kB / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.3253, allocations: 12.22 kB / 0.5608 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3254, allocations: 43.78 kB / 0.5609 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.3255, allocations: 35.73 kB / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3255, allocations: 4 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.91e-05/0.3256, allocations: 31.98 kB / 0.5609 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.3256, allocations: 31.91 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.3257, allocations: 39.67 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3259, allocations: 125.4 kB / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3259, allocations: 0 / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3259, allocations: 0 / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3259, allocations: 0 / 0.5611 GB, free: 4.371 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.0005345/0.3265, allocations: 379.4 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3265, allocations: 8.031 kB / 0.5615 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.658e-05/0.3265, allocations: 4.188 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.3265, allocations: 34.75 kB / 0.5615 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.3266, allocations: 8.891 kB / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.3269, allocations: 171.2 kB / 0.5617 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3269, allocations: 4.125 kB / 0.5617 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3269, allocations: 4 kB / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.327, allocations: 45.67 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.327, allocations: 0 / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.327, allocations: 0 / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.327, allocations: 7.984 kB / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.3271, allocations: 23.92 kB / 0.5618 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.3273, allocations: 156.8 kB / 0.5619 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3275, allocations: 54.55 kB / 0.562 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.3275, allocations: 16.86 kB / 0.562 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3275, allocations: 3.984 kB / 0.562 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.3277, allocations: 71.33 kB / 0.5621 GB, free: 3.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.3277, allocations: 0 / 0.5621 GB, free: 3.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002843/0.328, allocations: 97.58 kB / 0.5622 GB, free: 3.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.328, allocations: 55.41 kB / 0.5622 GB, free: 3.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.3283, allocations: 271.8 kB / 0.5625 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3283, allocations: 25.7 kB / 0.5625 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.3284, allocations: 112.1 kB / 0.5626 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.3284, allocations: 23.83 kB / 0.5626 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3285, allocations: 21.72 kB / 0.5627 GB, free: 2.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3286, allocations: 326.8 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.3287, allocations: 15.98 kB / 0.563 GB, free: 2.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.3287, allocations: 21.72 kB / 0.563 GB, free: 2.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.3288, allocations: 53.58 kB / 0.5631 GB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3288, allocations: 7.938 kB / 0.5631 GB, free: 2.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001686/0.329, allocations: 85.53 kB / 0.5632 GB, free: 2.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.329, allocations: 4 kB / 0.5632 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.329, allocations: 3.984 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.329, allocations: 0 / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.3291, allocations: 8 kB / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3291, allocations: 4 kB / 0.5632 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.3292, allocations: 4.266 kB / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3292, allocations: 8 kB / 0.5632 GB, free: 2.062 MB / 398.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.000119/0.3293, allocations: 137.8 kB / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.3293, allocations: 15.91 kB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.3295, allocations: 102.7 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3295, allocations: 3.938 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3295, allocations: 0 / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3295, allocations: 0 / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.3297, allocations: 172.6 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3297, allocations: 0 / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.3297, allocations: 4 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3297, allocations: 4 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3297, allocations: 7.984 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3297, allocations: 0 / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3297, allocations: 0 / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3299, allocations: 120.9 kB / 0.5637 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.33, allocations: 11.91 kB / 0.5637 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.33, allocations: 4 kB / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.33, allocations: 4 kB / 0.5637 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.3301, allocations: 7.984 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3301, allocations: 4 kB / 0.5638 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.3303, allocations: 196.6 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3303, allocations: 0 / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.3305, allocations: 27.92 kB / 0.564 GB, free: 1.172 MB / 398.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 (5): * Single equations (assignments): 3 * 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.00193/0.3324, allocations: 0.9621 MB / 0.5649 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.3326, allocations: 35.92 kB / 0.5649 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3326, allocations: 0 / 0.5649 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.151e-05/0.3326, allocations: 16 kB / 0.565 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.3329, allocations: 31.95 kB / 0.565 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.3349, allocations: 1.69 MB / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3352, allocations: 0.7235 MB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.943e-05/0.3353, allocations: 8.75 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/0.3354, allocations: 43.42 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3354, allocations: 0 / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.3591, allocations: 3.693 MB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.71, allocations: 3.938 kB / 0.571 GB, free: 10.06 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.721190031035803] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.927746272995137 11.954360711 11.623532326 Calling exit ...