Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001756/0.001756, allocations: 105 kB / 21.22 MB, free: 0.6758 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.002328/0.002328, allocations: 209.7 kB / 24.53 MB, free: 4.035 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.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2289/0.2289, allocations: 46.94 MB / 361.6 MB, free: 4.281 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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",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.002329/0.002329, allocations: 79.86 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3502, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003992/0.3542, allocations: 1.61 MB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3557, allocations: 0.5538 MB / 0.5636 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.3558, allocations: 4 kB / 0.5636 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.3561, allocations: 35.77 kB / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.3565, allocations: 79.62 kB / 0.5638 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.3569, allocations: 107.7 kB / 0.5639 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.3572, allocations: 75.75 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3573, allocations: 8 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.515e-05/0.3574, allocations: 19.92 kB / 0.564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.3575, allocations: 23.86 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3575, allocations: 0 / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3576, allocations: 39.98 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.3577, allocations: 15.92 kB / 0.564 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.3577, allocations: 23.81 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.358, allocations: 87.58 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.358, allocations: 0 / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.358, allocations: 0 / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.358, allocations: 7.938 kB / 0.5641 GB, free: 1.598 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000606/0.3586, allocations: 309.8 kB / 0.5644 GB, free: 1.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3587, allocations: 12.03 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.3587, allocations: 38.75 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.3587, allocations: 8.891 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.359, allocations: 126.4 kB / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.359, allocations: 8.359 kB / 0.5646 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.359, allocations: 384 / 0.5646 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3592, allocations: 54.17 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3592, allocations: 3.938 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3593, allocations: 4 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3593, allocations: 0 / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3594, allocations: 27.98 kB / 0.5647 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.3599, allocations: 259.9 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3602, allocations: 42.5 kB / 0.565 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.218e-05/0.3603, allocations: 20.94 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3603, allocations: 0 / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.3603, allocations: 38.56 kB / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3603, allocations: 0 / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008094/0.3612, allocations: 157.3 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3612, allocations: 51.41 kB / 0.5653 GB, free: 312 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.3614, allocations: 157.8 kB / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3615, allocations: 29.7 kB / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.3615, allocations: 100.1 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.3616, allocations: 19.84 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.3617, allocations: 21.66 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3619, allocations: 326.7 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.362, allocations: 19.98 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.3621, allocations: 23.92 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.3623, allocations: 60.75 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3623, allocations: 0 / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003222/0.3626, allocations: 85.62 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3626, allocations: 4 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3626, allocations: 0 / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3627, allocations: 3.984 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.3628, allocations: 12 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3628, allocations: 0 / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.3628, allocations: 11.98 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3628, allocations: 3.938 kB / 0.5661 GB, free: 15.4 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 (5): * Single equations (assignments): 5 * 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.000123/0.363, allocations: 118.7 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.363, allocations: 11.89 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.3633, allocations: 94.05 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3634, allocations: 4 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3634, allocations: 0 / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3634, allocations: 4 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.364, allocations: 333.9 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.364, allocations: 8 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.3641, allocations: 11.98 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3641, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3641, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3641, allocations: 3.938 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3641, allocations: 4 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.3644, allocations: 179.5 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.3644, allocations: 7.953 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3644, allocations: 0 / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3645, allocations: 15.92 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3646, allocations: 4.219 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.3646, allocations: 4 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3647, allocations: 130.2 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3647, allocations: 0 / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.3651, allocations: 23.94 kB / 0.567 GB, free: 14.37 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 (5): * Single equations (assignments): 5 * 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.002497/0.3676, allocations: 1.018 MB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.3679, allocations: 55.84 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3679, allocations: 0 / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.368, allocations: 23.98 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.3685, allocations: 23.91 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.3712, allocations: 1.492 MB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.3716, allocations: 0.6963 MB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.3717, allocations: 15.72 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.3717, allocations: 27.42 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3717, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.4017, allocations: 2.691 MB / 0.5729 GB, free: 8.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.449, allocations: 11.06 kB / 0.5729 GB, free: 8.332 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.338622455950826] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.589473220985383 8.605102785 8.243983931 Calling exit ...