Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001247/0.001247, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.001417/0.001417, allocations: 215 kB / 23 MB, free: 5.582 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.525/1.525, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2415/0.2415, allocations: 46.89 MB / 359.4 MB, free: 4.973 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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",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.003286/0.003286, allocations: 79.88 kB / 0.4942 GB, free: 8.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3522, allocations: 65.99 MB / 0.5586 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003698/0.3559, allocations: 1.631 MB / 0.5602 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.358, allocations: 1.239 MB / 0.5614 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.358, allocations: 4 kB / 0.5614 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.3583, allocations: 27.77 kB / 0.5614 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.3585, allocations: 79.62 kB / 0.5615 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.3588, allocations: 91.27 kB / 0.5616 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.359, allocations: 83.75 kB / 0.5617 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.3591, allocations: 13.81 kB / 0.5617 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.3591, allocations: 27.86 kB / 0.5617 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.3593, allocations: 43.77 kB / 0.5617 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3593, allocations: 8 kB / 0.5618 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.3594, allocations: 95.94 kB / 0.5618 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.3595, allocations: 15.92 kB / 0.5619 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.3595, allocations: 27.88 kB / 0.5619 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3598, allocations: 155.4 kB / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3598, allocations: 0 / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3598, allocations: 0 / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3598, allocations: 0 / 0.562 GB, free: 1.574 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006233/0.3604, allocations: 414.7 kB / 0.5624 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3605, allocations: 16.03 kB / 0.5624 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.3605, allocations: 34.73 kB / 0.5625 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3606, allocations: 8.891 kB / 0.5625 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3608, allocations: 204.2 kB / 0.5627 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3608, allocations: 384 / 0.5627 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.3609, allocations: 4.375 kB / 0.5627 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3611, allocations: 71.95 kB / 0.5628 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3611, allocations: 3.938 kB / 0.5628 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3611, allocations: 4 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.3611, allocations: 4 kB / 0.5628 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3612, allocations: 27.97 kB / 0.5628 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.3616, allocations: 304.7 kB / 0.5631 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.3618, allocations: 46.56 kB / 0.5631 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.3618, allocations: 20.97 kB / 0.5632 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3618, allocations: 4 kB / 0.5632 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.3619, allocations: 34.5 kB / 0.5632 GB, free: 220 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3619, allocations: 0 / 0.5632 GB, free: 220 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000651/0.3625, allocations: 185.4 kB / 0.5634 GB, free: 28 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.3626, allocations: 81.11 kB / 0.5634 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3628, allocations: 175.7 kB / 0.5636 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3628, allocations: 25.7 kB / 0.5636 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.3629, allocations: 92.14 kB / 0.5637 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.3629, allocations: 27.73 kB / 0.5637 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.363, allocations: 21.72 kB / 0.5638 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3631, allocations: 326.8 kB / 0.5641 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.3632, allocations: 19.98 kB / 0.5641 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.3633, allocations: 46.06 kB / 0.5641 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3635, allocations: 60.83 kB / 0.5642 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3635, allocations: 0 / 0.5642 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002366/0.3637, allocations: 105.6 kB / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3637, allocations: 4 kB / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3637, allocations: 3.938 kB / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3637, allocations: 4.031 kB / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3638, allocations: 19.98 kB / 0.5643 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3639, allocations: 0 / 0.5643 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.3639, allocations: 7.984 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3639, allocations: 3.938 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001386/0.3641, allocations: 117.8 kB / 0.5645 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.3641, allocations: 7.953 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.3644, allocations: 126.6 kB / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3644, allocations: 0 / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3644, allocations: 0 / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3644, allocations: 0 / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.365, allocations: 390.4 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.365, allocations: 4 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.365, allocations: 19.94 kB / 0.565 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.365, allocations: 3.984 kB / 0.565 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3651, allocations: 7.938 kB / 0.565 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3651, allocations: 4 kB / 0.565 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3651, allocations: 0 / 0.565 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3653, allocations: 195.4 kB / 0.5652 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.3654, allocations: 81.06 kB / 0.5653 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3654, allocations: 7.938 kB / 0.5653 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.3655, allocations: 11.98 kB / 0.5653 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.3655, allocations: 4 kB / 0.5653 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3655, allocations: 4 kB / 0.5653 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3657, allocations: 117.8 kB / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3657, allocations: 3.938 kB / 0.5654 GB, free: 13.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.366, allocations: 47.86 kB / 0.5654 GB, free: 13.72 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00227/0.3682, allocations: 1.111 MB / 0.5665 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3685, allocations: 67.81 kB / 0.5666 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3685, allocations: 0 / 0.5666 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.3686, allocations: 35.98 kB / 0.5666 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.369, allocations: 15.11 kB / 0.5666 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3709, allocations: 1.516 MB / 0.5681 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3713, allocations: 0.6924 MB / 0.5688 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.629e-05/0.3714, allocations: 20.72 kB / 0.5688 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.643e-05/0.3714, allocations: 35.42 kB / 0.5689 GB, free: 10.27 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3714, allocations: 0 / 0.5689 GB, free: 10.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.3992, allocations: 3.414 MB / 0.5722 GB, free: 6.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.608, allocations: 10.36 kB / 0.5722 GB, free: 6.836 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_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_CombiTable1Ds_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.563186929008225] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y'] 8.736497684993083 8.76236485 8.397558886 Calling exit ...