Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001271/0.001271, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.0023/0.0023, allocations: 219 kB / 21.46 MB, free: 1.605 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.511/1.511, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2313/0.2313, allocations: 46.93 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.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.89 kB / 0.4916 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1331, allocations: 65.99 MB / 0.5561 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003333/0.1364, allocations: 1.628 MB / 0.5577 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1376, allocations: 0.5533 MB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.1376, allocations: 3.938 kB / 0.5582 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1379, allocations: 79.77 kB / 0.5583 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.1383, allocations: 107.6 kB / 0.5584 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1386, allocations: 111.4 kB / 0.5585 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1388, allocations: 91.73 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1389, allocations: 8 kB / 0.5586 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.139, allocations: 43.77 kB / 0.5586 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1391, allocations: 59.81 kB / 0.5587 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1391, allocations: 4 kB / 0.5587 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1393, allocations: 47.97 kB / 0.5587 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.1393, allocations: 19.92 kB / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.1394, allocations: 31.75 kB / 0.5588 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1396, allocations: 103.6 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1396, allocations: 7.922 kB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1396, allocations: 0 / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1396, allocations: 0 / 0.5589 GB, free: 2.898 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.0006943/0.1403, allocations: 418.7 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1404, allocations: 8.031 kB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.608e-05/0.1404, allocations: 192 / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.1404, allocations: 38.75 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1405, allocations: 12.84 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1408, allocations: 215.1 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.1408, allocations: 384 / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.1408, allocations: 8.125 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.141, allocations: 57.61 kB / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.141, allocations: 0 / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.141, allocations: 0 / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.141, allocations: 4 kB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1411, allocations: 27.97 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.1416, allocations: 300.8 kB / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1418, allocations: 50.5 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1418, allocations: 12.94 kB / 0.56 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1418, allocations: 8.062 kB / 0.56 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1419, allocations: 34.56 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1419, allocations: 4 kB / 0.56 GB, free: 1.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009733/0.1428, allocations: 229.7 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.1429, allocations: 63.28 kB / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.1431, allocations: 226.2 kB / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1432, allocations: 25.7 kB / 0.5606 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.1432, allocations: 104.1 kB / 0.5607 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1433, allocations: 31.73 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.1433, allocations: 21.72 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1435, allocations: 326.8 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.1436, allocations: 31.97 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.1437, allocations: 27.92 kB / 0.5611 GB, free: 444 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.1438, allocations: 76.81 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1438, allocations: 0 / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002472/0.1441, allocations: 113.8 kB / 0.5613 GB, free: 244 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1441, allocations: 4 kB / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1441, allocations: 80 / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1441, allocations: 4 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1443, allocations: 19.92 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1443, allocations: 11.92 kB / 0.5613 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.1443, allocations: 7.984 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1443, allocations: 7.984 kB / 0.5613 GB, free: 188 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.000122/0.1445, allocations: 128 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.1445, allocations: 15.91 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.1449, allocations: 127 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1449, allocations: 0 / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1449, allocations: 7.938 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1449, allocations: 3.984 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.1456, allocations: 423.2 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1457, allocations: 7.875 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.1457, allocations: 16 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1457, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1457, allocations: 3.984 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1457, allocations: 8.031 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1457, allocations: 0 / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.146, allocations: 204.3 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1462, allocations: 96.89 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1462, allocations: 0 / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.1463, allocations: 15.98 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1463, allocations: 7.938 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1463, allocations: 3.984 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1465, allocations: 164.2 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1465, allocations: 0 / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1468, allocations: 23.94 kB / 0.5625 GB, free: 14.84 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.00225/0.149, allocations: 1.105 MB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.1493, allocations: 71.94 kB / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1493, allocations: 0 / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1494, allocations: 39.91 kB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1498, allocations: 20.88 kB / 0.5637 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.1521, allocations: 1.723 MB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.1525, allocations: 0.7119 MB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.1525, allocations: 16.66 kB / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.1526, allocations: 43.42 kB / 0.5662 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1526, allocations: 0 / 0.5662 GB, free: 11.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.1713, allocations: 3.223 MB / 0.5693 GB, free: 8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.622, allocations: 23.92 kB / 0.5693 GB, free: 7.977 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.877726748993155]