Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001758/0.001758, allocations: 105.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.002315/0.002315, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2365/0.2365, allocations: 46.96 MB / 361.7 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003183/0.003183, allocations: 67.89 kB / 0.4969 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3334, allocations: 66.03 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003125/0.3365, allocations: 1.714 MB / 0.5631 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3382, allocations: 0.9715 MB / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.3383, allocations: 0 / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3386, allocations: 43.77 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.3389, allocations: 103.5 kB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3391, allocations: 75.73 kB / 0.5643 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3393, allocations: 107.6 kB / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.3394, allocations: 9.828 kB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.3395, allocations: 47.77 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.3396, allocations: 35.8 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.3396, allocations: 4 kB / 0.5645 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3397, allocations: 39.98 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.3397, allocations: 27.84 kB / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.3398, allocations: 27.8 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3401, allocations: 127.4 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3401, allocations: 0 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3401, allocations: 0 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3401, allocations: 4 kB / 0.5647 GB, free: 0.8789 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005235/0.3406, allocations: 353.5 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3406, allocations: 8.031 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.145e-05/0.3406, allocations: 192 / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.3407, allocations: 34.75 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3407, allocations: 8.891 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.341, allocations: 166.2 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.341, allocations: 4.125 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.341, allocations: 4 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3412, allocations: 53.67 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3412, allocations: 4 kB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3412, allocations: 0 / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3412, allocations: 4 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.3413, allocations: 19.98 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3416, allocations: 263.9 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3418, allocations: 54.67 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.3419, allocations: 24.78 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3419, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.3421, allocations: 67.39 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3421, allocations: 7.938 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006082/0.3427, allocations: 185.3 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3427, allocations: 55.41 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.343, allocations: 230.6 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.343, allocations: 29.7 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.3431, allocations: 104.1 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3431, allocations: 23.8 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3431, allocations: 25.7 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3433, allocations: 326.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.3433, allocations: 23.98 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.3434, allocations: 33.7 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3436, allocations: 61.7 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3436, allocations: 4.312 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.3438, allocations: 101.6 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3438, allocations: 4 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3438, allocations: 4.156 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3438, allocations: 4 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.3439, allocations: 19.92 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3439, allocations: 11.95 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.344, allocations: 7.938 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.344, allocations: 4 kB / 0.5669 GB, free: 14.38 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.0001044/0.3441, allocations: 128.6 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3441, allocations: 15.91 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.3444, allocations: 123 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3444, allocations: 0 / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3444, allocations: 7.938 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3444, allocations: 3.984 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.3449, allocations: 374.4 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3449, allocations: 0 / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.3449, allocations: 8 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3449, allocations: 3.938 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3449, allocations: 4 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3449, allocations: 0 / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3449, allocations: 3.938 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3452, allocations: 224.4 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.3452, allocations: 11.89 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.3453, allocations: 8.031 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.3453, allocations: 4 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.3454, allocations: 11.92 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3454, allocations: 4 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.3455, allocations: 164.3 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3455, allocations: 0 / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3458, allocations: 20 kB / 0.568 GB, free: 13.19 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 (9): * Single equations (assignments): 7 * 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.002277/0.3481, allocations: 1.13 MB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.3483, allocations: 59.91 kB / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3483, allocations: 0 / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.3484, allocations: 31.98 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3487, allocations: 36.22 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3508, allocations: 1.709 MB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3509, allocations: 96.59 kB / 0.571 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.351, allocations: 16.58 kB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.351, allocations: 39.42 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.351, allocations: 4 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.3741, allocations: 3.857 MB / 0.5748 GB, free: 6.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 15.19 kB / 0.5748 GB, free: 6.359 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.146157928975299] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.109293479006737 12.13433475 11.78924309 Calling exit ...