Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001856/0.001856, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002292/0.002292, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 8 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.2304/0.2304, allocations: 46.94 MB / 361.7 MB, free: 4.254 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.Test85,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 75.89 kB / 0.497 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3062, allocations: 66.02 MB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003288/0.3095, allocations: 1.706 MB / 0.5631 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3112, allocations: 1.022 MB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.3113, allocations: 3.938 kB / 0.5641 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.3116, allocations: 55.8 kB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.3119, allocations: 99.53 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.312, allocations: 75.72 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.3122, allocations: 107.6 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.3123, allocations: 240 / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3124, allocations: 55.77 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3125, allocations: 43.78 kB / 0.5646 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3125, allocations: 11.98 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.3126, allocations: 31.92 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.3126, allocations: 19.92 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.3127, allocations: 23.81 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3129, allocations: 105.5 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3129, allocations: 0 / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3129, allocations: 4 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3129, allocations: 0 / 0.5647 GB, free: 1.078 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.0005023/0.3134, allocations: 337.6 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3134, allocations: 12.03 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.218e-05/0.3134, allocations: 192 / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.3135, allocations: 38.62 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.3135, allocations: 8.891 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.3138, allocations: 158.2 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3138, allocations: 4.125 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3138, allocations: 4 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3139, allocations: 45.67 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3139, allocations: 4 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3139, allocations: 4 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3139, allocations: 0 / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.314, allocations: 15.98 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.3142, allocations: 148.8 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3143, allocations: 62.42 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.3144, allocations: 20.86 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3144, allocations: 0 / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.3146, allocations: 63.39 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3146, allocations: 0 / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002989/0.3149, allocations: 101.5 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.3149, allocations: 51.41 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3151, allocations: 179.2 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3151, allocations: 33.7 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.3152, allocations: 100.1 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3152, allocations: 7.953 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.3152, allocations: 25.7 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3154, allocations: 318.8 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.3154, allocations: 12 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/0.3155, allocations: 29.7 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3156, allocations: 53.58 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3156, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000162/0.3158, allocations: 85.91 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3158, allocations: 4 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3158, allocations: 3.938 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3158, allocations: 0 / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.3159, allocations: 15.98 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3159, allocations: 0 / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.3159, allocations: 11.97 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3159, allocations: 4 kB / 0.5666 GB, free: 14.95 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.0001015/0.316, allocations: 125.8 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.3161, allocations: 11.94 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.3163, allocations: 94.66 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3163, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3163, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3163, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.3164, allocations: 168.6 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3164, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.3164, allocations: 7.984 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3164, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3165, allocations: 4 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3165, allocations: 0 / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3165, allocations: 0 / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.3167, allocations: 113 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.3167, allocations: 11.95 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.3167, allocations: 0 / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.3167, allocations: 3.938 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3168, allocations: 15.92 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3168, allocations: 4 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3169, allocations: 137.6 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3169, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.3171, allocations: 12 kB / 0.5673 GB, free: 14.16 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 (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.001903/0.319, allocations: 0.9662 MB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.3192, allocations: 35.92 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3192, allocations: 0 / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.3193, allocations: 23.92 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3195, allocations: 21.73 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3213, allocations: 1.488 MB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3216, allocations: 0.6963 MB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.3217, allocations: 12.48 kB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.3217, allocations: 31.42 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3217, allocations: 4 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.3441, allocations: 3.29 MB / 0.5737 GB, free: 7.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.57, allocations: 3.188 kB / 0.5737 GB, free: 7.699 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.626807902997825] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.787363929033745 11.804405099 11.488115294 Calling exit ...