Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001666/0.001666, allocations: 116.5 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.00198/0.00198, 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.532/1.532, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2374/0.2374, allocations: 46.9 MB / 357.4 MB, free: 10.47 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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 83.86 kB / 0.4913 GB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1302, allocations: 65.99 MB / 0.5557 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003101/0.1333, allocations: 1.602 MB / 0.5573 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1344, allocations: 0.5566 MB / 0.5578 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.1345, allocations: 0 / 0.5578 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1347, allocations: 27.83 kB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.135, allocations: 79.62 kB / 0.5579 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1354, allocations: 110.4 kB / 0.558 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1355, allocations: 67.83 kB / 0.5581 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1356, allocations: 15.98 kB / 0.5581 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.1357, allocations: 19.92 kB / 0.5581 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.1357, allocations: 23.86 kB / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1358, allocations: 7.938 kB / 0.5582 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.1358, allocations: 31.98 kB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1359, allocations: 15.92 kB / 0.5582 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.1359, allocations: 23.81 kB / 0.5582 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1361, allocations: 87.59 kB / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1361, allocations: 0 / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1361, allocations: 0 / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1361, allocations: 0 / 0.5583 GB, free: 3.523 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005421/0.1367, allocations: 398.9 kB / 0.5587 GB, free: 3.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1367, allocations: 12.03 kB / 0.5587 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.1368, allocations: 34.69 kB / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1368, allocations: 16.84 kB / 0.5587 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.137, allocations: 188.8 kB / 0.5589 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.137, allocations: 8.375 kB / 0.5589 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1371, allocations: 384 / 0.5589 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1372, allocations: 57.55 kB / 0.559 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1372, allocations: 7.984 kB / 0.559 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1372, allocations: 0 / 0.559 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1372, allocations: 0 / 0.559 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.1373, allocations: 23.98 kB / 0.559 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.1377, allocations: 288.8 kB / 0.5593 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.138, allocations: 38.56 kB / 0.5593 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.138, allocations: 24.94 kB / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.138, allocations: 0 / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1381, allocations: 30.56 kB / 0.5594 GB, free: 2.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1381, allocations: 0 / 0.5594 GB, free: 2.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006326/0.1387, allocations: 161.3 kB / 0.5595 GB, free: 2.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1387, allocations: 55.41 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1389, allocations: 174.5 kB / 0.5598 GB, free: 1.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.139, allocations: 33.64 kB / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.139, allocations: 100.1 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.139, allocations: 15.83 kB / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.1391, allocations: 17.72 kB / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1392, allocations: 326.8 kB / 0.5602 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.1393, allocations: 24.05 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.1394, allocations: 23.98 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1395, allocations: 52.83 kB / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1395, allocations: 0 / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002058/0.1397, allocations: 89.56 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1397, allocations: 8 kB / 0.5604 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1397, allocations: 0 / 0.5604 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1398, allocations: 4 kB / 0.5604 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.1398, allocations: 15.92 kB / 0.5604 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1398, allocations: 0 / 0.5604 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.1399, allocations: 4 kB / 0.5604 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1399, allocations: 7.938 kB / 0.5604 GB, free: 1.082 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 (5): * Single equations (assignments): 5 * 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 9.646e-05/0.14, allocations: 117.8 kB / 0.5606 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.14, allocations: 7.953 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.1403, allocations: 102 kB / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1403, allocations: 4 kB / 0.5607 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1403, allocations: 3.938 kB / 0.5607 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1403, allocations: 0 / 0.5607 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1408, allocations: 358.4 kB / 0.561 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1408, allocations: 4.312 kB / 0.561 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.1408, allocations: 11.98 kB / 0.561 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1408, allocations: 8 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1408, allocations: 0 / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1408, allocations: 3.938 kB / 0.561 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1408, allocations: 4 kB / 0.561 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1411, allocations: 179.4 kB / 0.5612 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1411, allocations: 89.02 kB / 0.5613 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1412, allocations: 4 kB / 0.5613 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1412, allocations: 15.92 kB / 0.5613 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1413, allocations: 4 kB / 0.5613 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1413, allocations: 0 / 0.5613 GB, free: 80 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1414, allocations: 139.9 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1414, allocations: 4 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1417, allocations: 11.94 kB / 0.5615 GB, free: 15.93 MB / 430.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 (5): * Single equations (assignments): 5 * 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.002037/0.1437, allocations: 1.026 MB / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1439, allocations: 51.97 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1439, allocations: 0 / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.144, allocations: 27.97 kB / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1444, allocations: 19.94 kB / 0.5626 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1463, allocations: 1.517 MB / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1467, allocations: 0.7002 MB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.226e-05/0.1468, allocations: 16.05 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.1468, allocations: 31.42 kB / 0.5648 GB, free: 12.56 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1468, allocations: 0 / 0.5648 GB, free: 12.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.1725, allocations: 2.682 MB / 0.5674 GB, free: 9.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.319, allocations: 15.88 kB / 0.5674 GB, free: 9.898 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.411786451935768]