Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001859/0.001859, allocations: 118.3 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.001998/0.001998, 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.519/1.519, 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.2439/0.2439, allocations: 46.93 MB / 357.8 MB, free: 10.29 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.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.89 kB / 0.4916 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1236, allocations: 65.98 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003123/0.1267, allocations: 1.61 MB / 0.5576 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1286, allocations: 1.175 MB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.1286, allocations: 0 / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.1288, allocations: 27.86 kB / 0.5588 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1292, allocations: 83.61 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.1295, allocations: 115.7 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1297, allocations: 67.78 kB / 0.5591 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.1298, allocations: 15.97 kB / 0.5591 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.1298, allocations: 23.92 kB / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.13, allocations: 31.84 kB / 0.5591 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.13, allocations: 4 kB / 0.5591 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.1302, allocations: 99.86 kB / 0.5592 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.1302, allocations: 11.94 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.1303, allocations: 31.8 kB / 0.5593 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1306, allocations: 147.5 kB / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1306, allocations: 0 / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1306, allocations: 0 / 0.5594 GB, free: 2.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1306, allocations: 0 / 0.5594 GB, free: 2.34 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.0005536/0.1312, allocations: 402.8 kB / 0.5598 GB, free: 1.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1312, allocations: 11.97 kB / 0.5598 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.55e-05/0.1312, allocations: 4.188 kB / 0.5598 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.1312, allocations: 38.75 kB / 0.5599 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1313, allocations: 4.891 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1315, allocations: 198.2 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1315, allocations: 384 / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1316, allocations: 16.11 kB / 0.5601 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1317, allocations: 63.33 kB / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1318, allocations: 0 / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1318, allocations: 4 kB / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1318, allocations: 0 / 0.5601 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1319, allocations: 31.97 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.1323, allocations: 280.9 kB / 0.5604 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1325, allocations: 42.5 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.1326, allocations: 24.94 kB / 0.5605 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1326, allocations: 4 kB / 0.5605 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1326, allocations: 30.56 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1326, allocations: 0 / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006305/0.1333, allocations: 153.4 kB / 0.5607 GB, free: 0.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.1333, allocations: 81.11 kB / 0.5608 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1335, allocations: 151.6 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1335, allocations: 25.7 kB / 0.5609 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1336, allocations: 96.12 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1336, allocations: 19.8 kB / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.1336, allocations: 13.72 kB / 0.561 GB, free: 464 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1338, allocations: 322.8 kB / 0.5614 GB, free: 132 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.1339, allocations: 23.92 kB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.134, allocations: 49.62 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1341, allocations: 48.83 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1341, allocations: 192 / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002379/0.1344, allocations: 85.62 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1344, allocations: 7.984 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1344, allocations: 0 / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1344, allocations: 0 / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.1345, allocations: 16.03 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1345, allocations: 0 / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.1345, allocations: 15.92 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1346, allocations: 0 / 0.5616 GB, free: 15.87 MB / 430.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 0.0001069/0.1347, allocations: 120 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.1347, allocations: 7.953 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.135, allocations: 97.95 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.135, allocations: 4 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.135, allocations: 3.938 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.135, allocations: 3.938 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.1355, allocations: 354.5 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1355, allocations: 0 / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.1356, allocations: 15.98 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1356, allocations: 0 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1356, allocations: 7.938 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1356, allocations: 4 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1356, allocations: 0 / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1358, allocations: 183.4 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.1359, allocations: 85.31 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1359, allocations: 3.938 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.136, allocations: 11.98 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.136, allocations: 8.281 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.136, allocations: 4 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1362, allocations: 113.4 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1362, allocations: 0 / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1365, allocations: 47.8 kB / 0.5626 GB, free: 14.71 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.002256/0.1387, allocations: 1.107 MB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1389, allocations: 51.89 kB / 0.5637 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.139, allocations: 4 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.139, allocations: 23.98 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1394, allocations: 11.98 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.1412, allocations: 1.455 MB / 0.5652 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1415, allocations: 0.6924 MB / 0.5659 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.1416, allocations: 19.98 kB / 0.5659 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.1417, allocations: 31.41 kB / 0.5659 GB, free: 11.38 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1417, allocations: 0 / 0.5659 GB, free: 11.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.1629, allocations: 3.308 MB / 0.5692 GB, free: 8.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.598, allocations: 8.875 kB / 0.5692 GB, free: 8.078 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.909252713958267]