Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001379/0.001379, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001886/0.001886, allocations: 210.9 kB / 24.51 MB, free: 3.945 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.237/0.237, allocations: 46.95 MB / 361.6 MB, free: 4.039 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.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.91 kB / 0.4969 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3187, allocations: 66.03 MB / 0.5614 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003414/0.3221, allocations: 1.667 MB / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3239, allocations: 0.9559 MB / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.324, allocations: 0 / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.3243, allocations: 59.73 kB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.3246, allocations: 107.6 kB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.3249, allocations: 75.67 kB / 0.5642 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.3251, allocations: 111.6 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.3251, allocations: 4.234 kB / 0.5643 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.691e-05/0.3252, allocations: 51.77 kB / 0.5644 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3253, allocations: 43.84 kB / 0.5644 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3254, allocations: 4 kB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.3254, allocations: 35.97 kB / 0.5644 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.3255, allocations: 19.92 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.3256, allocations: 27.8 kB / 0.5645 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3258, allocations: 113.3 kB / 0.5646 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3258, allocations: 0 / 0.5646 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3258, allocations: 0 / 0.5646 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3258, allocations: 0 / 0.5646 GB, free: 0.7891 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.0005501/0.3263, allocations: 341.6 kB / 0.5649 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3264, allocations: 16.03 kB / 0.5649 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.849e-05/0.3264, allocations: 192 / 0.5649 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.3264, allocations: 30.75 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3264, allocations: 12.84 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.3267, allocations: 147 kB / 0.5651 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3267, allocations: 8.125 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.3267, allocations: 4 kB / 0.5651 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3269, allocations: 49.61 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3269, allocations: 0 / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3269, allocations: 4 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3269, allocations: 4 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.327, allocations: 19.92 kB / 0.5652 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.3272, allocations: 156.7 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3274, allocations: 50.56 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.3274, allocations: 20.84 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3274, allocations: 0 / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.3276, allocations: 71.33 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3276, allocations: 0 / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002932/0.3279, allocations: 105.6 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3279, allocations: 55.41 kB / 0.5656 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3281, allocations: 194.3 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3281, allocations: 29.7 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.3282, allocations: 104.1 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.3282, allocations: 19.78 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3283, allocations: 21.72 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3284, allocations: 322.8 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.3285, allocations: 15.98 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.3285, allocations: 25.7 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.3286, allocations: 57.89 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3286, allocations: 0 / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001709/0.3288, allocations: 93.47 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3288, allocations: 4 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3288, allocations: 0 / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3288, allocations: 4 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.3289, allocations: 11.98 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3289, allocations: 0 / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.329, allocations: 8.031 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.329, allocations: 0 / 0.5665 GB, free: 14.62 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.0001089/0.3291, allocations: 133.7 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3291, allocations: 11.95 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.3293, allocations: 90.77 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3293, allocations: 3.984 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3293, allocations: 0 / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.3293, allocations: 0 / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3295, allocations: 164.6 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3295, allocations: 0 / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.3295, allocations: 8 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3295, allocations: 0 / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3295, allocations: 3.984 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3295, allocations: 0 / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3295, allocations: 7.938 kB / 0.5669 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.3298, allocations: 125.2 kB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.3298, allocations: 11.91 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3298, allocations: 3.938 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.3298, allocations: 4 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.3299, allocations: 3.984 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3299, allocations: 4 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.33, allocations: 152.2 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.33, allocations: 0 / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.3302, allocations: 23.94 kB / 0.5672 GB, free: 13.79 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.001931/0.3322, allocations: 0.9828 MB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.3323, allocations: 43.91 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3323, allocations: 0 / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.3324, allocations: 27.92 kB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.3327, allocations: 32.61 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3344, allocations: 1.53 MB / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.3345, allocations: 85.31 kB / 0.5699 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.3346, allocations: 16.47 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.3347, allocations: 31.42 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3347, allocations: 8 kB / 0.5699 GB, free: 11.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.358, allocations: 3.494 MB / 0.5733 GB, free: 7.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.69, allocations: 5.391 kB / 0.5733 GB, free: 7.676 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.798939111991785] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.925881332950667 11.952415765 11.621553896 Calling exit ...