Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.001611/0.001611, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.002719/0.002719, allocations: 218 kB / 23.01 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 71.89 kB / 467.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.128, allocations: 61.04 MB / 0.5162 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002946/0.1309, allocations: 1.595 MB / 0.5177 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.1316, allocations: 351.4 kB / 0.518 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.1317, allocations: 0 / 0.518 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.132, allocations: 95.73 kB / 0.5181 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1321, allocations: 67.8 kB / 0.5182 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1324, allocations: 95.73 kB / 0.5183 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1326, allocations: 79.81 kB / 0.5184 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.1327, allocations: 16.16 kB / 0.5184 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.1327, allocations: 43.84 kB / 0.5184 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1328, allocations: 67.8 kB / 0.5185 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1328, allocations: 0 / 0.5185 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-05/0.1329, allocations: 31.98 kB / 0.5185 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.133, allocations: 23.92 kB / 0.5185 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.133, allocations: 35.75 kB / 0.5186 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.1332, allocations: 111.4 kB / 0.5187 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1332, allocations: 0 / 0.5187 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1332, allocations: 3.938 kB / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1332, allocations: 0 / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004863/0.1337, allocations: 345.6 kB / 0.519 GB, free: 4.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1337, allocations: 11.97 kB / 0.519 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1338, allocations: 34.75 kB / 0.5191 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1338, allocations: 16.84 kB / 0.5191 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.134, allocations: 143.3 kB / 0.5192 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.134, allocations: 8.312 kB / 0.5192 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.134, allocations: 12.11 kB / 0.5192 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1342, allocations: 71.39 kB / 0.5193 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1342, allocations: 4 kB / 0.5193 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.1342, allocations: 4 kB / 0.5193 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1342, allocations: 0 / 0.5193 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1343, allocations: 39.91 kB / 0.5193 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.1348, allocations: 364.1 kB / 0.5197 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1351, allocations: 89.14 kB / 0.5198 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.1352, allocations: 29.8 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1352, allocations: 0 / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1352, allocations: 38.56 kB / 0.5198 GB, free: 3.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1352, allocations: 4 kB / 0.5198 GB, free: 3.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007111/0.1359, allocations: 245 kB / 0.5201 GB, free: 3.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.136, allocations: 81.05 kB / 0.5202 GB, free: 3.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1362, allocations: 234.3 kB / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1362, allocations: 25.7 kB / 0.5204 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.1363, allocations: 108.1 kB / 0.5205 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1363, allocations: 35.75 kB / 0.5205 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1364, allocations: 29.64 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1365, allocations: 322.8 kB / 0.5209 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.1366, allocations: 35.97 kB / 0.5209 GB, free: 2.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.1367, allocations: 41.7 kB / 0.521 GB, free: 2.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1369, allocations: 93.98 kB / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1369, allocations: 0 / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002555/0.1372, allocations: 133.4 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1372, allocations: 4 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1372, allocations: 0 / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1372, allocations: 0 / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.1373, allocations: 23.98 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1373, allocations: 7.875 kB / 0.5212 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.1373, allocations: 11.94 kB / 0.5212 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1373, allocations: 4 kB / 0.5212 GB, free: 1.879 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001146/0.1374, allocations: 133.8 kB / 0.5214 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.1375, allocations: 11.91 kB / 0.5214 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.1378, allocations: 154.6 kB / 0.5215 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1378, allocations: 0 / 0.5215 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1378, allocations: 7.938 kB / 0.5215 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1378, allocations: 4 kB / 0.5215 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.1385, allocations: 482.5 kB / 0.522 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1385, allocations: 7.938 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.1386, allocations: 23.92 kB / 0.522 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1386, allocations: 4 kB / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1386, allocations: 0 / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1386, allocations: 12.02 kB / 0.522 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1386, allocations: 48 / 0.522 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.1389, allocations: 295.5 kB / 0.5223 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.1389, allocations: 15.84 kB / 0.5223 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.139, allocations: 7.984 kB / 0.5223 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1391, allocations: 12 kB / 0.5223 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1391, allocations: 7.984 kB / 0.5223 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1391, allocations: 0 / 0.5223 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1393, allocations: 176.2 kB / 0.5225 GB, free: 472 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1393, allocations: 0 / 0.5225 GB, free: 472 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1395, allocations: 20 kB / 0.5225 GB, free: 452 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.002047/0.1416, allocations: 1.137 MB / 0.5236 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.1418, allocations: 83.88 kB / 0.5237 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1418, allocations: 4 kB / 0.5237 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1419, allocations: 47.91 kB / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.1424, allocations: 19.98 kB / 0.5238 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1445, allocations: 1.858 MB / 0.5256 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.1449, allocations: 0.7157 MB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.783e-05/0.145, allocations: 28.39 kB / 0.5263 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.145, allocations: 39.42 kB / 0.5264 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.145, allocations: 0 / 0.5264 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.1735, allocations: 3.343 MB / 0.5296 GB, free: 8.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.1, allocations: 0 / 0.5296 GB, free: 8.98 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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: 14.324325478868559]