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.001262/0.001262, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001309/0.001309, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.389/1.389, allocations: 230.4 MB / 254.7 MB, free: 15 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.2133/0.2133, allocations: 46.92 MB / 357.7 MB, free: 10.16 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 75.89 kB / 0.4917 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1184, allocations: 66.05 MB / 0.5562 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00389/0.1223, allocations: 2.026 MB / 0.5581 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1239, allocations: 0.8022 MB / 0.5589 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.124, allocations: 0 / 0.5589 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.1244, allocations: 179.4 kB / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.1249, allocations: 215.1 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009234/0.1259, allocations: 420 kB / 0.5597 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.1263, allocations: 307 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1265, allocations: 48.7 kB / 0.56 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1267, allocations: 131.5 kB / 0.5602 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.127, allocations: 175.3 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.127, allocations: 12 kB / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1271, allocations: 43.94 kB / 0.5604 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1273, allocations: 179.5 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.1275, allocations: 198.4 kB / 0.5608 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.128, allocations: 437.8 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.128, allocations: 0 / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.128, allocations: 4 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.128, allocations: 0 / 0.5612 GB, free: 356 kB / 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.001355/0.1293, allocations: 0.8937 MB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1294, allocations: 8.031 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.02e-05/0.1294, allocations: 8.125 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.1294, allocations: 46.73 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.1296, allocations: 68.52 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.1302, allocations: 0.5243 MB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1302, allocations: 8.375 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.1303, allocations: 16.33 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.1307, allocations: 155.5 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1307, allocations: 0 / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1307, allocations: 8 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1307, allocations: 7.984 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.1312, allocations: 131.8 kB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1323, allocations: 0.7464 MB / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.1327, allocations: 137.1 kB / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.1329, allocations: 77.78 kB / 0.5639 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.133, allocations: 3.984 kB / 0.5639 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.133, allocations: 34.56 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.133, allocations: 0 / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002715/0.1357, allocations: 0.8269 MB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.1358, allocations: 85.11 kB / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.1371, allocations: 1.074 MB / 0.5659 GB, free: 11.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.1371, allocations: 29.7 kB / 0.5659 GB, free: 11.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.1374, allocations: 296.3 kB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/0.1374, allocations: 59.53 kB / 0.5663 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1375, allocations: 29.72 kB / 0.5663 GB, free: 10.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1376, allocations: 314 kB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.1381, allocations: 119.9 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.1385, allocations: 137.6 kB / 0.5668 GB, free: 10.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.1394, allocations: 249.5 kB / 0.5671 GB, free: 10.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1394, allocations: 4.031 kB / 0.5671 GB, free: 10.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001056/0.1405, allocations: 368.8 kB / 0.5674 GB, free: 9.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1405, allocations: 4 kB / 0.5674 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1405, allocations: 0 / 0.5674 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1405, allocations: 4 kB / 0.5674 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.1409, allocations: 67.94 kB / 0.5675 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1409, allocations: 3.984 kB / 0.5675 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.1411, allocations: 39.89 kB / 0.5676 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1411, allocations: 8 kB / 0.5676 GB, free: 9.516 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.0002358/0.1414, allocations: 225.7 kB / 0.5678 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1415, allocations: 71.47 kB / 0.5678 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.1427, allocations: 398.9 kB / 0.5682 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1427, allocations: 4 kB / 0.5682 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1427, allocations: 0 / 0.5682 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.1427, allocations: 3.984 kB / 0.5682 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.1445, allocations: 0.9542 MB / 0.5692 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1445, allocations: 0 / 0.5692 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.1448, allocations: 67.88 kB / 0.5692 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.1448, allocations: 7.984 kB / 0.5692 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1448, allocations: 4.75 kB / 0.5692 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1448, allocations: 0 / 0.5692 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1448, allocations: 0 / 0.5692 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1459, allocations: 0.5271 MB / 0.5698 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.1461, allocations: 168.9 kB / 0.5699 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.1462, allocations: 4 kB / 0.5699 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.1465, allocations: 43.95 kB / 0.57 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.1466, allocations: 27.84 kB / 0.57 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1466, allocations: 11.94 kB / 0.57 GB, free: 6.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009324/0.1475, allocations: 0.788 MB / 0.5708 GB, free: 6.125 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1475, allocations: 0 / 0.5708 GB, free: 6.125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.1479, allocations: 67.92 kB / 0.5708 GB, free: 6.059 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.002874/0.1508, allocations: 1.354 MB / 0.5722 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.1518, allocations: 263.7 kB / 0.5724 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1518, allocations: 0 / 0.5724 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004929/0.1523, allocations: 139.8 kB / 0.5725 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.153, allocations: 97.8 kB / 0.5726 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/0.1623, allocations: 6.073 MB / 0.5786 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.1629, allocations: 0.8894 MB / 0.5794 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.1631, allocations: 103.2 kB / 0.5795 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.1634, allocations: 183.4 kB / 0.5797 GB, free: 12.96 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1634, allocations: 0 / 0.5797 GB, free: 12.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.1934, allocations: 11.6 MB / 0.591 GB, free: 1.453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.691/8.884, allocations: 3.984 kB / 0.591 GB, free: 1.449 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 -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --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 os._exit(0), Time elapsed: 11.909334474999923] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 9.061802889977116 9.261565079 9.131196603 Calling exit ...