Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 116.8 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 189.2 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 44.92 MB / 349.6 MB, free: 1.758 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 76.73 kB / 491.8 MB, free: 30.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1274, allocations: 64.25 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002934/0.1303, allocations: 1.567 MB / 0.5446 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007634/0.1311, allocations: 419.1 kB / 0.545 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.1311, allocations: 4 kB / 0.545 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1313, allocations: 27.84 kB / 0.545 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.1315, allocations: 35.84 kB / 0.545 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1318, allocations: 107.7 kB / 0.5451 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.1319, allocations: 51.91 kB / 0.5452 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.132, allocations: 15.92 kB / 0.5452 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.1321, allocations: 19.94 kB / 0.5452 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.1321, allocations: 31.78 kB / 0.5452 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1321, allocations: 0 / 0.5452 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.91e-05/0.1322, allocations: 31.98 kB / 0.5453 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.1323, allocations: 11.94 kB / 0.5453 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.1323, allocations: 31.8 kB / 0.5453 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1324, allocations: 71.72 kB / 0.5454 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.1324, allocations: 4 kB / 0.5454 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1325, allocations: 0 / 0.5454 GB, free: 1.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1325, allocations: 0 / 0.5454 GB, free: 1.688 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004926/0.1329, allocations: 390.9 kB / 0.5458 GB, free: 1.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.133, allocations: 12.03 kB / 0.5458 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.133, allocations: 34.69 kB / 0.5458 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.1331, allocations: 12.84 kB / 0.5458 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1332, allocations: 184.3 kB / 0.546 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-06/0.1333, allocations: 384 / 0.546 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1333, allocations: 4.375 kB / 0.546 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1334, allocations: 53.62 kB / 0.546 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1334, allocations: 0 / 0.546 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1334, allocations: 11.94 kB / 0.5461 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1334, allocations: 0 / 0.5461 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.68e-05/0.1335, allocations: 23.97 kB / 0.5461 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.1339, allocations: 288.7 kB / 0.5463 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1341, allocations: 38.56 kB / 0.5464 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.1341, allocations: 24.94 kB / 0.5464 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.1342, allocations: 0 / 0.5464 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1342, allocations: 34.56 kB / 0.5464 GB, free: 436 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1342, allocations: 0 / 0.5464 GB, free: 436 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005169/0.1347, allocations: 149.4 kB / 0.5466 GB, free: 280 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1347, allocations: 59.41 kB / 0.5466 GB, free: 208 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1349, allocations: 167.6 kB / 0.5468 GB, free: 32 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1349, allocations: 29.78 kB / 0.5468 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.135, allocations: 96.09 kB / 0.5469 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.135, allocations: 19.83 kB / 0.5469 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1351, allocations: 17.72 kB / 0.547 GB, free: 15.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1352, allocations: 326.8 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/0.1353, allocations: 19.98 kB / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.1353, allocations: 23.98 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1354, allocations: 52.83 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1355, allocations: 3.938 kB / 0.5474 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001849/0.1356, allocations: 85.61 kB / 0.5474 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1356, allocations: 8 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1357, allocations: 0 / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1357, allocations: 0 / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.1357, allocations: 19.92 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1357, allocations: 0 / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.1358, allocations: 4 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1358, allocations: 7.938 kB / 0.5475 GB, free: 15.29 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 8.658e-05/0.1359, allocations: 117.8 kB / 0.5476 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.1359, allocations: 8.484 kB / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.1361, allocations: 102 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1361, allocations: 3.984 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1361, allocations: 3.984 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1362, allocations: 0 / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1366, allocations: 358.4 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1366, allocations: 0 / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.1367, allocations: 11.98 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1367, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1367, allocations: 8 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1367, allocations: 7.938 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1367, allocations: 0 / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1369, allocations: 187.3 kB / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1369, allocations: 81.06 kB / 0.5483 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.137, allocations: 0 / 0.5483 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.137, allocations: 11.92 kB / 0.5483 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1371, allocations: 12 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1371, allocations: 0 / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1372, allocations: 129.3 kB / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1372, allocations: 0 / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1374, allocations: 15.98 kB / 0.5485 GB, free: 14.14 MB / 414.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.001822/0.1392, allocations: 1.012 MB / 0.5495 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1394, allocations: 59.89 kB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1394, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.701e-05/0.1395, allocations: 27.92 kB / 0.5496 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1399, allocations: 19.92 kB / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1415, allocations: 1.5 MB / 0.5511 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1418, allocations: 0.6963 MB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.1419, allocations: 12.06 kB / 0.5517 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.1419, allocations: 27.42 kB / 0.5518 GB, free: 10.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1419, allocations: 0 / 0.5518 GB, free: 10.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.164, allocations: 2.613 MB / 0.5543 GB, free: 8.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.831, allocations: 5.766 kB / 0.5543 GB, free: 8.25 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.022588898893446]