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.001291/0.001291, 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.001422/0.001422, allocations: 213.9 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.511/1.511, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2593/0.2593, allocations: 46.92 MB / 361.6 MB, free: 4.215 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.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.002347/0.002347, allocations: 79.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4145, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003512/0.418, allocations: 1.645 MB / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.4202, allocations: 1.259 MB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.4203, allocations: 0 / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.4206, allocations: 27.78 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.4209, allocations: 83.62 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.4212, allocations: 87.77 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.4214, allocations: 79.77 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4215, allocations: 23.91 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.4216, allocations: 23.92 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.4218, allocations: 39.78 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.4218, allocations: 8 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.422, allocations: 99.86 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.4221, allocations: 12 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.4221, allocations: 31.8 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.4224, allocations: 151.5 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4224, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4224, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4224, allocations: 4 kB / 0.565 GB, free: 0.7461 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.0006354/0.4231, allocations: 345.5 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4231, allocations: 8.031 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.4232, allocations: 34.75 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.4232, allocations: 8.891 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.4235, allocations: 142.4 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.4235, allocations: 4.375 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4235, allocations: 384 / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.4237, allocations: 83.89 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4237, allocations: 3.938 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4237, allocations: 0 / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4237, allocations: 0 / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.4239, allocations: 35.97 kB / 0.5656 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.4243, allocations: 271.8 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4244, allocations: 50.5 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.4245, allocations: 20.97 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.4245, allocations: 4 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4246, allocations: 30.56 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.4246, allocations: 3.938 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000668/0.4252, allocations: 181.5 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.4253, allocations: 81.11 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.4255, allocations: 163.8 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4255, allocations: 29.7 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.4256, allocations: 88.14 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.4256, allocations: 35.67 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.4257, allocations: 21.72 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4258, allocations: 330.8 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.4259, allocations: 19.98 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.426, allocations: 41.69 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.4261, allocations: 64.77 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4261, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002136/0.4263, allocations: 101.6 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4263, allocations: 8 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4263, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4264, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4265, allocations: 19.98 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4265, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.4265, allocations: 7.984 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.4265, allocations: 3.938 kB / 0.5671 GB, free: 14.33 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.000108/0.4267, allocations: 118.7 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.4267, allocations: 11.95 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.427, allocations: 118.7 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.427, allocations: 4 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.427, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.427, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.4275, allocations: 365.4 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4275, allocations: 4 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.4276, allocations: 19.98 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4276, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4276, allocations: 4.312 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4276, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4276, allocations: 8 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.4279, allocations: 191.4 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.4279, allocations: 15.94 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.4279, allocations: 7.938 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.428, allocations: 4 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.428, allocations: 11.92 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.428, allocations: 0 / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.4282, allocations: 125.6 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4282, allocations: 0 / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.4284, allocations: 43.8 kB / 0.5681 GB, free: 13.21 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.002238/0.4307, allocations: 1.124 MB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.431, allocations: 67.88 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.431, allocations: 0 / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4311, allocations: 39.92 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.4315, allocations: 15.36 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.4337, allocations: 1.507 MB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.4341, allocations: 0.6962 MB / 0.5715 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.631e-05/0.4342, allocations: 20.72 kB / 0.5715 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.4343, allocations: 31.42 kB / 0.5716 GB, free: 9.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4343, allocations: 4 kB / 0.5716 GB, free: 9.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.4656, allocations: 3.481 MB / 0.575 GB, free: 6.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.561, allocations: 1.891 kB / 0.575 GB, free: 6.238 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.55126032512635] 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.706684879027307 8.736686186 8.30886554 Calling exit ...