Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001857/0.001857, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002153/0.002153, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2317/0.2317, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 0.4962 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3, allocations: 66.04 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003652/0.3037, allocations: 1.983 MB / 0.5626 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.3058, allocations: 1.061 MB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.3059, allocations: 0 / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.3062, allocations: 55.62 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.3065, allocations: 107.4 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3068, allocations: 119.6 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.3071, allocations: 203.4 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3072, allocations: 27.61 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3073, allocations: 83.64 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.3075, allocations: 79.61 kB / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.3075, allocations: 12 kB / 0.5643 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3076, allocations: 51.98 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.3077, allocations: 43.78 kB / 0.5644 GB, free: 376 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.3078, allocations: 59.64 kB / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.3081, allocations: 203.1 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3081, allocations: 4 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3081, allocations: 0 / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3081, allocations: 0 / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009483/0.309, allocations: 0.4965 MB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3091, allocations: 8.031 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.3091, allocations: 42.73 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3092, allocations: 16.84 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.3095, allocations: 190.2 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3095, allocations: 16.3 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.3096, allocations: 7.938 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.31, allocations: 176.7 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.31, allocations: 0 / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.31, allocations: 4 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.31, allocations: 4 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.3105, allocations: 123.8 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.3111, allocations: 0.4922 MB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.3118, allocations: 166.5 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.3121, allocations: 68.8 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3121, allocations: 0 / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/0.3125, allocations: 164.9 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.3125, allocations: 0 / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009086/0.3134, allocations: 265.3 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3134, allocations: 55.41 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.3137, allocations: 244.1 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3137, allocations: 29.69 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.3138, allocations: 124.4 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.3139, allocations: 47.69 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.3139, allocations: 33.7 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.3142, allocations: 330.8 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.3145, allocations: 97.62 kB / 0.5677 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.3148, allocations: 133.9 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.3154, allocations: 193.8 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3154, allocations: 0 / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007141/0.3161, allocations: 296 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.475e-05/0.3162, allocations: 37.64 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3162, allocations: 0 / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3162, allocations: 11.94 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.3164, allocations: 35.97 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.3164, allocations: 0 / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3166, allocations: 35.98 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3166, allocations: 8 kB / 0.5684 GB, free: 11.91 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002103/0.3168, allocations: 133.8 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3168, allocations: 15.91 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.3175, allocations: 218.9 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3175, allocations: 3.938 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3175, allocations: 4 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3175, allocations: 0 / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.3177, allocations: 196.6 kB / 0.569 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3177, allocations: 3.984 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.3179, allocations: 23.92 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3179, allocations: 3.938 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.3179, allocations: 7.984 kB / 0.569 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3179, allocations: 3.938 kB / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3179, allocations: 0 / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.3188, allocations: 312.8 kB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.3188, allocations: 23.83 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.3189, allocations: 7.984 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3191, allocations: 27.91 kB / 0.5694 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.3192, allocations: 20.05 kB / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.3192, allocations: 11.92 kB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.3194, allocations: 169.8 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3194, allocations: 3.938 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3196, allocations: 40 kB / 0.5696 GB, free: 10.61 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003/0.3226, allocations: 1.17 MB / 0.5707 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006527/0.3233, allocations: 252.7 kB / 0.571 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3233, allocations: 0 / 0.571 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.3235, allocations: 80.19 kB / 0.5711 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3239, allocations: 52.89 kB / 0.5711 GB, free: 9.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.3277, allocations: 2.312 MB / 0.5734 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3278, allocations: 116.1 kB / 0.5735 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.356e-05/0.3279, allocations: 25.45 kB / 0.5735 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.328, allocations: 55.42 kB / 0.5736 GB, free: 6.555 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.328, allocations: 0 / 0.5736 GB, free: 6.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/0.3684, allocations: 5.914 MB / 0.5793 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.4, allocations: 22.05 kB / 0.5794 GB, free: 0.6992 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.3570007320086] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.554945112002315 11.571738758 11.260471306 Calling exit ...