Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 112.3 kB / 20.22 MB, free: 1.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 215.5 kB / 23.48 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 230.2 MB / 256.8 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2257/0.2257, allocations: 46.89 MB / 360 MB, free: 4.695 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 79.88 kB / 0.4951 GB, free: 8.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3162, allocations: 66 MB / 0.5596 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003639/0.3199, allocations: 1.951 MB / 0.5615 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3218, allocations: 1.08 MB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.885e-05/0.3219, allocations: 8 kB / 0.5626 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.3222, allocations: 39.72 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3225, allocations: 103.5 kB / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.3228, allocations: 99.64 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.323, allocations: 143.5 kB / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3231, allocations: 27.31 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3233, allocations: 63.7 kB / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3234, allocations: 47.72 kB / 0.5631 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.3234, allocations: 8 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3235, allocations: 55.97 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.3236, allocations: 23.86 kB / 0.5632 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.52e-05/0.3237, allocations: 55.61 kB / 0.5632 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.3239, allocations: 159.2 kB / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3239, allocations: 0 / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3239, allocations: 0 / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.324, allocations: 0 / 0.5634 GB, free: 1.074 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007313/0.3247, allocations: 484.1 kB / 0.5638 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3247, allocations: 12.03 kB / 0.5638 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.936e-05/0.3248, allocations: 42.73 kB / 0.5639 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.3249, allocations: 16.84 kB / 0.5639 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.3252, allocations: 237.7 kB / 0.5641 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3253, allocations: 4.375 kB / 0.5641 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3253, allocations: 8.375 kB / 0.5641 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.3256, allocations: 116.3 kB / 0.5642 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3256, allocations: 3.984 kB / 0.5642 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3256, allocations: 4 kB / 0.5642 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3256, allocations: 0 / 0.5642 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.3258, allocations: 52.02 kB / 0.5643 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.3265, allocations: 0.4971 MB / 0.5648 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.3268, allocations: 90.42 kB / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.3269, allocations: 32.84 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3269, allocations: 7.984 kB / 0.5649 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.3271, allocations: 83.36 kB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.3271, allocations: 0 / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004319/0.3275, allocations: 145.8 kB / 0.5651 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3276, allocations: 55.34 kB / 0.5652 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3278, allocations: 207.1 kB / 0.5654 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3278, allocations: 29.64 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3279, allocations: 124.1 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.328, allocations: 27.75 kB / 0.5655 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.328, allocations: 29.7 kB / 0.5656 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3282, allocations: 326.8 kB / 0.5659 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.3283, allocations: 27.98 kB / 0.5659 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3284, allocations: 60.27 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.3286, allocations: 104.2 kB / 0.5661 GB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3286, allocations: 0 / 0.5661 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002858/0.3289, allocations: 133.5 kB / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3289, allocations: 7.984 kB / 0.5662 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3289, allocations: 4 kB / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3289, allocations: 0 / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.329, allocations: 27.94 kB / 0.5662 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.329, allocations: 7.922 kB / 0.5662 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.3291, allocations: 11.95 kB / 0.5663 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3291, allocations: 4 kB / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002008/0.3293, allocations: 140.3 kB / 0.5664 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.3293, allocations: 15.91 kB / 0.5664 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.3296, allocations: 123 kB / 0.5665 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3296, allocations: 192 / 0.5665 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3296, allocations: 7.938 kB / 0.5665 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3296, allocations: 3.938 kB / 0.5665 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.3299, allocations: 209.6 kB / 0.5667 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3299, allocations: 0 / 0.5667 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.33, allocations: 11.98 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.33, allocations: 8 kB / 0.5668 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.33, allocations: 7.938 kB / 0.5668 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.33, allocations: 0 / 0.5668 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.33, allocations: 3.938 kB / 0.5668 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.3304, allocations: 176.9 kB / 0.5669 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.3304, allocations: 93.03 kB / 0.567 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3304, allocations: 8.062 kB / 0.567 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.826e-05/0.3305, allocations: 4 kB / 0.567 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.3305, allocations: 11.92 kB / 0.567 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.3306, allocations: 4 kB / 0.567 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3307, allocations: 144.4 kB / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3307, allocations: 0 / 0.5672 GB, free: 12.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.3309, allocations: 27.94 kB / 0.5672 GB, free: 12.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.002034/0.333, allocations: 1.026 MB / 0.5682 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.3332, allocations: 71.89 kB / 0.5683 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3332, allocations: 4 kB / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3333, allocations: 40.17 kB / 0.5683 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3336, allocations: 39.66 kB / 0.5684 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.3358, allocations: 1.772 MB / 0.5701 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3362, allocations: 0.7123 MB / 0.5708 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.3362, allocations: 21.41 kB / 0.5708 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.3363, allocations: 47.41 kB / 0.5709 GB, free: 8.984 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3363, allocations: 0 / 0.5709 GB, free: 8.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.364, allocations: 3.837 MB / 0.5746 GB, free: 5.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.533, allocations: 7.922 kB / 0.5746 GB, free: 5.16 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.375807666918263] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.658417364931665 8.685266077 8.356378871 Calling exit ...