Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001337/0.001337, allocations: 116.5 kB / 18.5 MB, free: 4.566 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.00146/0.00146, allocations: 212.9 kB / 21.46 MB, free: 1.605 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.62/1.62, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2389/0.2389, allocations: 46.88 MB / 357.4 MB, free: 10.56 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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",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.002293/0.002293, allocations: 79.88 kB / 0.4912 GB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1306, allocations: 65.98 MB / 0.5557 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002994/0.1336, allocations: 1.628 MB / 0.5573 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1347, allocations: 0.5488 MB / 0.5578 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.1347, allocations: 0 / 0.5578 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.135, allocations: 79.77 kB / 0.5579 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1353, allocations: 103.6 kB / 0.558 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.1356, allocations: 119.2 kB / 0.5581 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1357, allocations: 75.83 kB / 0.5582 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1359, allocations: 23.91 kB / 0.5582 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.1359, allocations: 27.92 kB / 0.5582 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.136, allocations: 71.73 kB / 0.5583 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.136, allocations: 0 / 0.5583 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-05/0.1361, allocations: 47.98 kB / 0.5583 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.1362, allocations: 27.91 kB / 0.5584 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.1362, allocations: 27.75 kB / 0.5584 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1364, allocations: 111.5 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1364, allocations: 0 / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1364, allocations: 0 / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1364, allocations: 0 / 0.5585 GB, free: 3.547 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.0005307/0.137, allocations: 414.7 kB / 0.5589 GB, free: 3.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.137, allocations: 16.02 kB / 0.5589 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1371, allocations: 30.75 kB / 0.5589 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.1371, allocations: 20.78 kB / 0.5589 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1373, allocations: 204.8 kB / 0.5591 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.1373, allocations: 4.359 kB / 0.5591 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1373, allocations: 8.375 kB / 0.5592 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1375, allocations: 54.17 kB / 0.5592 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1375, allocations: 7.938 kB / 0.5592 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1375, allocations: 4 kB / 0.5592 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1375, allocations: 0 / 0.5592 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.543e-05/0.1376, allocations: 23.98 kB / 0.5592 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.138, allocations: 304.8 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1382, allocations: 46.5 kB / 0.5596 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.1382, allocations: 20.94 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1382, allocations: 0 / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1382, allocations: 38.56 kB / 0.5596 GB, free: 2.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1382, allocations: 0 / 0.5596 GB, free: 2.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008984/0.1391, allocations: 237.3 kB / 0.5599 GB, free: 1.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1392, allocations: 55.41 kB / 0.5599 GB, free: 1.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1394, allocations: 214.3 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1394, allocations: 25.7 kB / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.1395, allocations: 112 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.1395, allocations: 23.81 kB / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.1396, allocations: 25.7 kB / 0.5603 GB, free: 1.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1397, allocations: 326.8 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.1398, allocations: 31.92 kB / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.1399, allocations: 39.91 kB / 0.5607 GB, free: 1.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.14, allocations: 69.05 kB / 0.5607 GB, free: 1.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.14, allocations: 0 / 0.5607 GB, free: 1.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002592/0.1403, allocations: 117.6 kB / 0.5609 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1403, allocations: 8 kB / 0.5609 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1403, allocations: 0 / 0.5609 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1403, allocations: 0 / 0.5609 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1404, allocations: 19.92 kB / 0.5609 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1405, allocations: 8 kB / 0.5609 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1405, allocations: 0 / 0.5609 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1405, allocations: 7.938 kB / 0.5609 GB, free: 0.8398 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.0001137/0.1406, allocations: 133.8 kB / 0.561 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.1407, allocations: 11.91 kB / 0.561 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.141, allocations: 131 kB / 0.5612 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.141, allocations: 4 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.141, allocations: 0 / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.141, allocations: 432 / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.1416, allocations: 423.2 kB / 0.5616 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1416, allocations: 7.875 kB / 0.5616 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.1416, allocations: 19.98 kB / 0.5616 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1416, allocations: 0 / 0.5616 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1417, allocations: 7.969 kB / 0.5616 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1417, allocations: 4 kB / 0.5616 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1417, allocations: 0 / 0.5616 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.142, allocations: 212.3 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.142, allocations: 92.95 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1421, allocations: 11.94 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.1421, allocations: 8 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1422, allocations: 7.984 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.1422, allocations: 4 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1423, allocations: 164.2 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1423, allocations: 0 / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1426, allocations: 20 kB / 0.5621 GB, free: 15.48 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.002164/0.1448, allocations: 1.106 MB / 0.5632 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.145, allocations: 75.94 kB / 0.5633 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.145, allocations: 0 / 0.5633 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-05/0.1451, allocations: 39.91 kB / 0.5633 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1455, allocations: 18.42 kB / 0.5633 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1475, allocations: 1.722 MB / 0.565 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1479, allocations: 0.7079 MB / 0.5657 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.148, allocations: 20.95 kB / 0.5657 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.148, allocations: 39.42 kB / 0.5657 GB, free: 11.8 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.148, allocations: 0 / 0.5657 GB, free: 11.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.1719, allocations: 3.195 MB / 0.5689 GB, free: 8.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.278, allocations: 16 kB / 0.5689 GB, free: 8.652 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.399599951226264] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock.y'] 8.400933183263987 8.417229629 8.277759017 Calling exit ...