Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001874/0.001874, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002047/0.002047, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.433/1.433, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2269/0.2269, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",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.00231/0.00231, allocations: 75.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3354, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00361/0.339, allocations: 2.061 MB / 0.5635 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.3414, allocations: 1.376 MB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3415, allocations: 4 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.3418, allocations: 51.52 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.3423, allocations: 223.1 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.3436, allocations: 0.5938 MB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.3442, allocations: 335 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.3444, allocations: 48.91 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.3446, allocations: 147.4 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.3449, allocations: 207.2 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.345, allocations: 16 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3451, allocations: 59.98 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.3453, allocations: 155.4 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.3455, allocations: 170.6 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.3461, allocations: 420 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3461, allocations: 0 / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3461, allocations: 4 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3461, allocations: 4 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001081/0.3472, allocations: 0.7523 MB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3472, allocations: 12.03 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.775e-05/0.3473, allocations: 46.73 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.3476, allocations: 80.5 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.3483, allocations: 423.2 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3483, allocations: 12.38 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.3483, allocations: 16.31 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.3486, allocations: 147.2 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3487, allocations: 0 / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.3487, allocations: 11.98 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3487, allocations: 0 / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.3489, allocations: 91.94 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.35, allocations: 0.683 MB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.3502, allocations: 105.2 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3503, allocations: 49.81 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.3504, allocations: 7.938 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3504, allocations: 34.56 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.3504, allocations: 0 / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001477/0.3519, allocations: 0.5735 MB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.3519, allocations: 77.11 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.353, allocations: 0.9299 MB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3531, allocations: 25.7 kB / 0.5712 GB, free: 10.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.3533, allocations: 272.3 kB / 0.5714 GB, free: 9.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.3533, allocations: 63.47 kB / 0.5715 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.3534, allocations: 33.7 kB / 0.5715 GB, free: 9.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3535, allocations: 318 kB / 0.5718 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3537, allocations: 63.95 kB / 0.5719 GB, free: 9.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.3539, allocations: 77.66 kB / 0.572 GB, free: 9.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.3542, allocations: 165.6 kB / 0.5721 GB, free: 9.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3542, allocations: 3.938 kB / 0.5721 GB, free: 9.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005076/0.3548, allocations: 237.2 kB / 0.5724 GB, free: 8.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3548, allocations: 6.188 kB / 0.5724 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3548, allocations: 7.984 kB / 0.5724 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3548, allocations: 0.75 kB / 0.5724 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.355, allocations: 43.91 kB / 0.5724 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.355, allocations: 320 / 0.5724 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.3551, allocations: 8 kB / 0.5724 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3552, allocations: 11.98 kB / 0.5724 GB, free: 8.875 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002372/0.3554, allocations: 214.6 kB / 0.5726 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3555, allocations: 67.5 kB / 0.5727 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.3561, allocations: 298.7 kB / 0.573 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3561, allocations: 4 kB / 0.573 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3562, allocations: 0 / 0.573 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3562, allocations: 7.922 kB / 0.573 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3574, allocations: 0.7972 MB / 0.5738 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3574, allocations: 0 / 0.5738 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.3575, allocations: 35.97 kB / 0.5738 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3576, allocations: 0 / 0.5738 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3576, allocations: 11.94 kB / 0.5738 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3576, allocations: 0 / 0.5738 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3576, allocations: 7.875 kB / 0.5738 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.3581, allocations: 425.1 kB / 0.5742 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3583, allocations: 79.58 kB / 0.5743 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.3583, allocations: 0 / 0.5743 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3585, allocations: 15.98 kB / 0.5743 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.3586, allocations: 11.92 kB / 0.5743 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3586, allocations: 19.98 kB / 0.5744 GB, free: 6.816 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007841/0.3594, allocations: 0.6786 MB / 0.575 GB, free: 6.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3594, allocations: 0 / 0.575 GB, free: 6.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.3597, allocations: 55.94 kB / 0.5751 GB, free: 6.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.002264/0.362, allocations: 1.254 MB / 0.5763 GB, free: 4.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.3625, allocations: 155.8 kB / 0.5764 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3625, allocations: 4 kB / 0.5764 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.3627, allocations: 83.89 kB / 0.5765 GB, free: 4.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.3633, allocations: 82.69 kB / 0.5766 GB, free: 4.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.3704, allocations: 5.195 MB / 0.5817 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.3709, allocations: 0.877 MB / 0.5825 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.3712, allocations: 95.83 kB / 0.5826 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3714, allocations: 179.4 kB / 0.5828 GB, free: 14.16 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3714, allocations: 0 / 0.5828 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.4089, allocations: 10.27 MB / 0.5928 GB, free: 3.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.929/9.337, allocations: 8.406 kB / 0.5928 GB, free: 3.895 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.822987534105778] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'sine_R.y', 'const_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'sine_L.y', 'const_L.y'] 9.484865692909807 9.511678692 9.160614522 Calling exit ...