Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 46.92 MB / 357.8 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.84 kB / 0.4916 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1325, allocations: 65.98 MB / 0.5561 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002975/0.1354, allocations: 1.628 MB / 0.5577 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1365, allocations: 0.5456 MB / 0.5582 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.1365, allocations: 3.938 kB / 0.5582 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1368, allocations: 75.77 kB / 0.5583 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1371, allocations: 111.6 kB / 0.5584 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1374, allocations: 111.2 kB / 0.5585 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1376, allocations: 87.73 kB / 0.5586 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1377, allocations: 12 kB / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.1378, allocations: 39.78 kB / 0.5586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1379, allocations: 59.81 kB / 0.5587 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1379, allocations: 7.938 kB / 0.5587 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.138, allocations: 51.97 kB / 0.5587 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.1381, allocations: 19.92 kB / 0.5588 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1381, allocations: 35.73 kB / 0.5588 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1383, allocations: 103.6 kB / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1383, allocations: 0 / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1383, allocations: 0 / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1383, allocations: 7.875 kB / 0.5589 GB, free: 2.914 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.0006319/0.139, allocations: 414.7 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.139, allocations: 8.031 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.595e-05/0.139, allocations: 8.188 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.1391, allocations: 30.75 kB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.1391, allocations: 12.84 kB / 0.5594 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1393, allocations: 211.1 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1394, allocations: 4.375 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1394, allocations: 12.11 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1396, allocations: 53.61 kB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1396, allocations: 4 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1396, allocations: 4 kB / 0.5596 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1396, allocations: 4 kB / 0.5596 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1397, allocations: 27.97 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.1402, allocations: 292.8 kB / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1403, allocations: 50.48 kB / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1403, allocations: 16.86 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1404, allocations: 4 kB / 0.56 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1404, allocations: 34.64 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1404, allocations: 0 / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.1414, allocations: 245.3 kB / 0.5603 GB, free: 1.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1415, allocations: 59.28 kB / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.1417, allocations: 214.3 kB / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1417, allocations: 25.7 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.1418, allocations: 112.1 kB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.1418, allocations: 27.73 kB / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.1419, allocations: 21.72 kB / 0.5607 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1421, allocations: 322.8 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1422, allocations: 35.97 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.202e-05/0.1422, allocations: 31.92 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1424, allocations: 72.81 kB / 0.5612 GB, free: 384 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1424, allocations: 4 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002584/0.1427, allocations: 109.8 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1427, allocations: 9.875 kB / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1427, allocations: 4 kB / 0.5613 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1427, allocations: 3.938 kB / 0.5613 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1428, allocations: 15.98 kB / 0.5613 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.1429, allocations: 15.88 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.1429, allocations: 0 / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1429, allocations: 8 kB / 0.5613 GB, free: 208 kB / 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.0001021/0.143, allocations: 128 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.1431, allocations: 11.91 kB / 0.5615 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.1434, allocations: 135 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1434, allocations: 0 / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1434, allocations: 3.938 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1434, allocations: 0 / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.144, allocations: 419.2 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.144, allocations: 8.391 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.1441, allocations: 23.92 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1441, allocations: 0 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1441, allocations: 4 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1441, allocations: 0 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1441, allocations: 0 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1444, allocations: 212.3 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1444, allocations: 100.9 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1445, allocations: 0 / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1445, allocations: 15.86 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1446, allocations: 4 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1446, allocations: 4 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1447, allocations: 164.2 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 4 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.145, allocations: 23.92 kB / 0.5625 GB, free: 14.85 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.002295/0.1473, allocations: 1.094 MB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1476, allocations: 83.86 kB / 0.5637 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1476, allocations: 0 / 0.5637 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1477, allocations: 39.92 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1481, allocations: 16.05 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1503, allocations: 1.723 MB / 0.5654 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1507, allocations: 0.708 MB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.1507, allocations: 24.97 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.1508, allocations: 39.42 kB / 0.5662 GB, free: 11.17 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1508, allocations: 0 / 0.5662 GB, free: 11.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.1702, allocations: 3.22 MB / 0.5693 GB, free: 8.016 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.661, allocations: 18.83 kB / 0.5693 GB, free: 8 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.831654184032232]