Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.001359/0.001359, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.001374/0.001374, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.498/1.498, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 46.89 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 77.06 kB / 0.4913 GB, free: 27.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1135, allocations: 65.98 MB / 0.5557 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003495/0.117, allocations: 2.028 MB / 0.5577 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1184, allocations: 0.81 MB / 0.5585 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.1185, allocations: 4 kB / 0.5585 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.1189, allocations: 175.4 kB / 0.5586 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.1193, allocations: 211.2 kB / 0.5588 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008743/0.1202, allocations: 427.5 kB / 0.5592 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.1206, allocations: 295.2 kB / 0.5595 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1207, allocations: 48.94 kB / 0.5596 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1209, allocations: 131.4 kB / 0.5597 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1211, allocations: 171.3 kB / 0.5599 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.1212, allocations: 16 kB / 0.5599 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1213, allocations: 47.92 kB / 0.5599 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.1215, allocations: 171.5 kB / 0.5601 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.1217, allocations: 198.4 kB / 0.5603 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.1222, allocations: 445.7 kB / 0.5607 GB, free: 3.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1222, allocations: 4 kB / 0.5607 GB, free: 3.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1222, allocations: 0 / 0.5607 GB, free: 3.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.1222, allocations: 0 / 0.5607 GB, free: 3.941 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.00136/0.1235, allocations: 0.8859 MB / 0.5616 GB, free: 3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1236, allocations: 12.03 kB / 0.5616 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.1236, allocations: 34.75 kB / 0.5616 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.1237, allocations: 68.52 kB / 0.5617 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.1245, allocations: 0.5282 MB / 0.5622 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1245, allocations: 8.375 kB / 0.5622 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.1245, allocations: 16.33 kB / 0.5622 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.1249, allocations: 155.9 kB / 0.5624 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.125, allocations: 3.938 kB / 0.5624 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.125, allocations: 11.94 kB / 0.5624 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.125, allocations: 0 / 0.5624 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.1255, allocations: 135.8 kB / 0.5625 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1267, allocations: 0.7464 MB / 0.5632 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.127, allocations: 133.1 kB / 0.5634 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1273, allocations: 77.78 kB / 0.5634 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1273, allocations: 0 / 0.5634 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.1273, allocations: 38.56 kB / 0.5635 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1273, allocations: 0 / 0.5635 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002565/0.1299, allocations: 0.8307 MB / 0.5643 GB, free: 56 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.13, allocations: 81.05 kB / 0.5644 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.1313, allocations: 1.078 MB / 0.5654 GB, free: 14.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1313, allocations: 25.7 kB / 0.5654 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.1316, allocations: 292.3 kB / 0.5657 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.1317, allocations: 59.48 kB / 0.5658 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.1317, allocations: 37.7 kB / 0.5658 GB, free: 14.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1319, allocations: 306 kB / 0.5661 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.1323, allocations: 119.9 kB / 0.5662 GB, free: 14.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.1327, allocations: 137.6 kB / 0.5664 GB, free: 13.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.1336, allocations: 261.5 kB / 0.5666 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1336, allocations: 0 / 0.5666 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001028/0.1346, allocations: 364.9 kB / 0.567 GB, free: 13.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1346, allocations: 6.219 kB / 0.567 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1346, allocations: 0 / 0.567 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1346, allocations: 3.938 kB / 0.567 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.135, allocations: 67.92 kB / 0.567 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.135, allocations: 4.219 kB / 0.567 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.1352, allocations: 35.95 kB / 0.5671 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1352, allocations: 7.938 kB / 0.5671 GB, free: 13.13 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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.0002456/0.1355, allocations: 229.7 kB / 0.5673 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1356, allocations: 72.22 kB / 0.5674 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.1367, allocations: 410.7 kB / 0.5678 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1367, allocations: 0 / 0.5678 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1367, allocations: 4 kB / 0.5678 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1367, allocations: 0 / 0.5678 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.1386, allocations: 0.9541 MB / 0.5687 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.1386, allocations: 7.984 kB / 0.5687 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.1389, allocations: 67.86 kB / 0.5688 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1389, allocations: 4 kB / 0.5688 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1389, allocations: 8 kB / 0.5688 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1389, allocations: 0 / 0.5688 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1389, allocations: 0 / 0.5688 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.14, allocations: 0.5176 MB / 0.5693 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.1402, allocations: 168.6 kB / 0.5694 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.1403, allocations: 4 kB / 0.5694 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.1406, allocations: 43.95 kB / 0.5695 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.1406, allocations: 23.91 kB / 0.5695 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1407, allocations: 7.938 kB / 0.5695 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000953/0.1416, allocations: 0.7919 MB / 0.5703 GB, free: 9.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1416, allocations: 0 / 0.5703 GB, free: 9.734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00037/0.142, allocations: 64 kB / 0.5703 GB, free: 9.672 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 (18): * Single equations (assignments): 18 * 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.002769/0.1448, allocations: 1.364 MB / 0.5717 GB, free: 8.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009283/0.1457, allocations: 259.7 kB / 0.5719 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1457, allocations: 0 / 0.5719 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.1461, allocations: 143.8 kB / 0.5721 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.1468, allocations: 95.66 kB / 0.5722 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009088/0.1559, allocations: 6.074 MB / 0.5781 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.1565, allocations: 0.8816 MB / 0.579 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.1568, allocations: 95.28 kB / 0.579 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.157, allocations: 191.4 kB / 0.5792 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.157, allocations: 0 / 0.5792 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.1965, allocations: 11.58 MB / 0.5905 GB, free: 5.082 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.919/9.115, allocations: 3.938 kB / 0.5905 GB, free: 5.078 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.074585820082575] Failed to read output from testmodel.py, exit status != 0: 9.246047835797071 9.271685265 9.144610905 Calling exit ...