Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001288/0.001288, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001375/0.001375, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.527/1.527, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2483/0.2483, allocations: 46.93 MB / 357.1 MB, free: 10.38 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 0.491 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1249, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003498/0.1284, allocations: 1.659 MB / 0.557 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1295, allocations: 0.5572 MB / 0.5576 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.1296, allocations: 4 kB / 0.5576 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1299, allocations: 91.67 kB / 0.5577 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1302, allocations: 119.5 kB / 0.5578 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1305, allocations: 115.7 kB / 0.5579 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1307, allocations: 107.7 kB / 0.558 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1308, allocations: 23.98 kB / 0.558 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.932e-05/0.1309, allocations: 43.83 kB / 0.5581 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.131, allocations: 67.75 kB / 0.5581 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.131, allocations: 7.984 kB / 0.5581 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.1311, allocations: 47.98 kB / 0.5582 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.1311, allocations: 23.92 kB / 0.5582 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.1312, allocations: 47.67 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1315, allocations: 143.3 kB / 0.5584 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1315, allocations: 0 / 0.5584 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1315, allocations: 0 / 0.5584 GB, free: 2.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1315, allocations: 0 / 0.5584 GB, free: 2.805 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007952/0.1323, allocations: 437 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.1324, allocations: 8.031 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.1324, allocations: 38.75 kB / 0.5588 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1325, allocations: 12.84 kB / 0.5589 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1327, allocations: 220 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1327, allocations: 4.375 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.1328, allocations: 8.375 kB / 0.5591 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.133, allocations: 77.11 kB / 0.5591 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.133, allocations: 7.938 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.133, allocations: 0 / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.133, allocations: 4 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1332, allocations: 39.97 kB / 0.5592 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.1338, allocations: 352.7 kB / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1339, allocations: 62.55 kB / 0.5596 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/0.134, allocations: 24.78 kB / 0.5596 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.134, allocations: 7.938 kB / 0.5596 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1341, allocations: 34.56 kB / 0.5597 GB, free: 1.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1341, allocations: 0 / 0.5597 GB, free: 1.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001165/0.1352, allocations: 341.6 kB / 0.56 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1353, allocations: 55.41 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.1355, allocations: 239.4 kB / 0.5603 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1355, allocations: 29.7 kB / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.1356, allocations: 116.1 kB / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.1357, allocations: 39.64 kB / 0.5604 GB, free: 492 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.1357, allocations: 29.72 kB / 0.5605 GB, free: 456 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1359, allocations: 326.8 kB / 0.5608 GB, free: 120 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.136, allocations: 43.97 kB / 0.5608 GB, free: 76 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1361, allocations: 47.91 kB / 0.5609 GB, free: 28 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.1363, allocations: 112.8 kB / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1363, allocations: 0 / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002981/0.1366, allocations: 153.2 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1366, allocations: 8 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1366, allocations: 3.938 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1367, allocations: 0 / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1368, allocations: 31.92 kB / 0.5612 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1368, allocations: 4 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.1368, allocations: 7.984 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1369, allocations: 4 kB / 0.5612 GB, free: 15.7 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 (13): * Single equations (assignments): 13 * 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.0001192/0.137, allocations: 140 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.137, allocations: 11.91 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.1374, allocations: 194.9 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1374, allocations: 0 / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1374, allocations: 8 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1374, allocations: 7.922 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.1381, allocations: 499.2 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1381, allocations: 0 / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-05/0.1382, allocations: 27.92 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1382, allocations: 4 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1382, allocations: 32 / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1382, allocations: 4 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1382, allocations: 4 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.1386, allocations: 264.1 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.1387, allocations: 89.02 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1387, allocations: 8 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.1388, allocations: 8 kB / 0.5624 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1388, allocations: 15.98 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1388, allocations: 4 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.139, allocations: 181.2 kB / 0.5626 GB, free: 14.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.139, allocations: 0 / 0.5626 GB, free: 14.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1393, allocations: 31.88 kB / 0.5626 GB, free: 14.12 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 (13): * Single equations (assignments): 13 * 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.00233/0.1416, allocations: 1.14 MB / 0.5637 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.1419, allocations: 107.1 kB / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1419, allocations: 4 kB / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1421, allocations: 63.84 kB / 0.5639 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.1425, allocations: 23.73 kB / 0.5639 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.1452, allocations: 1.912 MB / 0.5658 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1456, allocations: 0.7197 MB / 0.5665 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.937e-05/0.1457, allocations: 32.52 kB / 0.5665 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.1458, allocations: 51.36 kB / 0.5666 GB, free: 10.12 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1458, allocations: 0 / 0.5666 GB, free: 10.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.1718, allocations: 3.643 MB / 0.5701 GB, free: 6.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.405, allocations: 12.16 kB / 0.5701 GB, free: 6.52 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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: 11.502949133049697]