Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001654/0.001654, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002127/0.002127, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.523/1.523, allocations: 230.5 MB / 258.2 MB, free: 8 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.2467/0.2467, allocations: 46.93 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 179] 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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",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.002404/0.002404, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3457, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003285/0.349, allocations: 1.638 MB / 0.5631 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3501, allocations: 0.5498 MB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.3502, allocations: 0 / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.3504, allocations: 103.7 kB / 0.5638 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.3507, allocations: 107.6 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.351, allocations: 99.62 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3512, allocations: 83.75 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3513, allocations: 11.98 kB / 0.5641 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.3514, allocations: 39.91 kB / 0.5641 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3515, allocations: 63.8 kB / 0.5642 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3515, allocations: 4 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3516, allocations: 51.86 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.3517, allocations: 23.91 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.3517, allocations: 35.69 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.352, allocations: 115.4 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.352, allocations: 0 / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.352, allocations: 0 / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.352, allocations: 0 / 0.5644 GB, free: 1.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005801/0.3525, allocations: 341.6 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3526, allocations: 16.02 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.3526, allocations: 34.75 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3527, allocations: 20.78 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3529, allocations: 138.4 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.3529, allocations: 4.359 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.3529, allocations: 8.328 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3531, allocations: 54.23 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3531, allocations: 3.938 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3531, allocations: 0 / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3531, allocations: 8 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3532, allocations: 23.97 kB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.3536, allocations: 275.7 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3538, allocations: 42.56 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.3538, allocations: 16.94 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.3538, allocations: 4 kB / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3539, allocations: 30.56 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3539, allocations: 3.938 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008833/0.3547, allocations: 229.3 kB / 0.5656 GB, free: 12 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.3548, allocations: 55.41 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3551, allocations: 234.8 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3551, allocations: 25.7 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3552, allocations: 112.1 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3552, allocations: 23.8 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.3553, allocations: 21.72 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3554, allocations: 330.8 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.3555, allocations: 27.98 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.3556, allocations: 23.98 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3557, allocations: 60.83 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3557, allocations: 0 / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002121/0.3559, allocations: 109.5 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3559, allocations: 8 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3559, allocations: 0 / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.356, allocations: 4 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3561, allocations: 23.98 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3561, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.3561, allocations: 7.938 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3561, allocations: 11.86 kB / 0.5666 GB, free: 14.89 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.0001132/0.3562, allocations: 126.7 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.3563, allocations: 7.953 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.3566, allocations: 135.2 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3566, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3566, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3566, allocations: 8.344 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.3571, allocations: 378.3 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3571, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.3572, allocations: 16.03 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3572, allocations: 4 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3572, allocations: 11.92 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3572, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3572, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.3574, allocations: 208.2 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.3574, allocations: 11.95 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3575, allocations: 7.938 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.3575, allocations: 8 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.3576, allocations: 3.984 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.3576, allocations: 4 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.3577, allocations: 180.3 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3577, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.358, allocations: 19.95 kB / 0.5677 GB, free: 13.69 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 (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.002318/0.3603, allocations: 1.091 MB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3605, allocations: 71.88 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3605, allocations: 0 / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.3606, allocations: 27.98 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.361, allocations: 23.73 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3632, allocations: 1.712 MB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3635, allocations: 0.7041 MB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.3636, allocations: 20.66 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.3637, allocations: 35.42 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3637, allocations: 0 / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.3901, allocations: 3.267 MB / 0.5745 GB, free: 6.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.483, allocations: 13.19 kB / 0.5745 GB, free: 6.762 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.570976214017719] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.62755667604506 8.656961492 8.299737783 Calling exit ...