Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.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.00151/0.00151, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001486/0.001486, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.5/1.5, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2527/0.2527, allocations: 46.88 MB / 357.4 MB, free: 10.53 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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",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.002387/0.002387, allocations: 79.86 kB / 0.4912 GB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1288, allocations: 65.98 MB / 0.5557 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003161/0.1319, allocations: 1.629 MB / 0.5573 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1331, allocations: 0.5372 MB / 0.5578 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.468e-05/0.1332, allocations: 0 / 0.5578 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.1336, allocations: 107.7 kB / 0.5579 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.1339, allocations: 131.5 kB / 0.558 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1343, allocations: 87.06 kB / 0.5581 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1345, allocations: 95.8 kB / 0.5582 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1346, allocations: 8 kB / 0.5582 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.1347, allocations: 47.81 kB / 0.5583 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1348, allocations: 79.73 kB / 0.5583 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1348, allocations: 3.938 kB / 0.5583 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1349, allocations: 43.98 kB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.135, allocations: 19.92 kB / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.135, allocations: 39.69 kB / 0.5584 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1353, allocations: 123.4 kB / 0.5586 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1353, allocations: 0 / 0.5586 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1353, allocations: 0 / 0.5586 GB, free: 3.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1353, allocations: 0 / 0.5586 GB, free: 3.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006101/0.1359, allocations: 434.6 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1359, allocations: 12.03 kB / 0.559 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.136, allocations: 34.75 kB / 0.559 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.136, allocations: 12.89 kB / 0.559 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1363, allocations: 208.9 kB / 0.5592 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1363, allocations: 4.359 kB / 0.5592 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1363, allocations: 4.375 kB / 0.5592 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1365, allocations: 54.19 kB / 0.5593 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1365, allocations: 7.891 kB / 0.5593 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1365, allocations: 0 / 0.5593 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1365, allocations: 4 kB / 0.5593 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.1366, allocations: 23.97 kB / 0.5593 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.137, allocations: 304.8 kB / 0.5596 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1372, allocations: 42.5 kB / 0.5596 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1372, allocations: 16.94 kB / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1372, allocations: 0 / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1373, allocations: 34.56 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1373, allocations: 4 kB / 0.5597 GB, free: 2.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009032/0.1382, allocations: 233.4 kB / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1382, allocations: 51.41 kB / 0.56 GB, free: 1.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.1385, allocations: 258.1 kB / 0.5602 GB, free: 1.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1385, allocations: 29.7 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.1386, allocations: 112.1 kB / 0.5604 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.1386, allocations: 35.8 kB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.1387, allocations: 17.72 kB / 0.5604 GB, free: 1.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1388, allocations: 330.8 kB / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1389, allocations: 23.98 kB / 0.5607 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.139, allocations: 31.91 kB / 0.5608 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1391, allocations: 61.06 kB / 0.5608 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1391, allocations: 4 kB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.1393, allocations: 101.6 kB / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1394, allocations: 8 kB / 0.5609 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1394, allocations: 0 / 0.5609 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1394, allocations: 0 / 0.5609 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1395, allocations: 23.86 kB / 0.561 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1395, allocations: 8 kB / 0.561 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1395, allocations: 3.984 kB / 0.561 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1395, allocations: 11.94 kB / 0.561 GB, free: 0.7344 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.00011/0.1397, allocations: 129.8 kB / 0.5611 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.1397, allocations: 15.91 kB / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.14, allocations: 119 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.14, allocations: 4 kB / 0.5612 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.14, allocations: 4 kB / 0.5612 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.14, allocations: 0 / 0.5612 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.1406, allocations: 407.3 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1406, allocations: 3.938 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.543e-05/0.1406, allocations: 15.94 kB / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1406, allocations: 0 / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1407, allocations: 11.94 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1407, allocations: 4.031 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1407, allocations: 3.938 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1409, allocations: 204.3 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.141, allocations: 89 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.141, allocations: 11.92 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.1411, allocations: 8 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1411, allocations: 7.984 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1411, allocations: 4 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.1413, allocations: 188.4 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1413, allocations: 0 / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1415, allocations: 23.94 kB / 0.5622 GB, free: 15.39 MB / 430.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.002109/0.1437, allocations: 1.088 MB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1439, allocations: 63.95 kB / 0.5633 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1439, allocations: 0 / 0.5633 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.144, allocations: 31.92 kB / 0.5633 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1444, allocations: 23.73 kB / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.1465, allocations: 1.756 MB / 0.5651 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1468, allocations: 0.7158 MB / 0.5658 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.1469, allocations: 20.95 kB / 0.5658 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.1469, allocations: 39.42 kB / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1469, allocations: 0 / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1708, allocations: 3.305 MB / 0.5691 GB, free: 8.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.198, allocations: 13.69 kB / 0.5691 GB, free: 8.426 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.314899088814855] 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.320669508073479 8.335904461 8.197694513 Calling exit ...