Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001241/0.001241, allocations: 113 kB / 18.49 MB, free: 4.539 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.001328/0.001328, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2446/0.2446, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.91 kB / 0.4916 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1306, allocations: 65.99 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003296/0.1339, allocations: 1.599 MB / 0.5576 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.135, allocations: 0.5416 MB / 0.5582 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1351, allocations: 4 kB / 0.5582 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.1353, allocations: 23.8 kB / 0.5582 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1356, allocations: 79.67 kB / 0.5583 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1359, allocations: 111.6 kB / 0.5584 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1361, allocations: 75.7 kB / 0.5585 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.1362, allocations: 8 kB / 0.5585 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.1362, allocations: 23.91 kB / 0.5585 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.1363, allocations: 23.86 kB / 0.5585 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1363, allocations: 0 / 0.5585 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.1364, allocations: 35.98 kB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.1365, allocations: 11.94 kB / 0.5586 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.1365, allocations: 35.72 kB / 0.5586 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1367, allocations: 75.67 kB / 0.5587 GB, free: 3.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1367, allocations: 0 / 0.5587 GB, free: 3.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1367, allocations: 4 kB / 0.5587 GB, free: 3.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1367, allocations: 0 / 0.5587 GB, free: 3.191 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.000524/0.1372, allocations: 383 kB / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1373, allocations: 15.97 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.074e-05/0.1373, allocations: 4.188 kB / 0.559 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.1373, allocations: 30.75 kB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.1374, allocations: 8.891 kB / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1376, allocations: 192.2 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1376, allocations: 4.312 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.1376, allocations: 12.12 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1378, allocations: 49.69 kB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1378, allocations: 3.984 kB / 0.5593 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1378, allocations: 3.984 kB / 0.5593 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1378, allocations: 0 / 0.5593 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1379, allocations: 19.98 kB / 0.5594 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1384, allocations: 280.9 kB / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1387, allocations: 54.48 kB / 0.5597 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.1387, allocations: 12.95 kB / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1387, allocations: 7.984 kB / 0.5597 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1388, allocations: 30.56 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1388, allocations: 0 / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006621/0.1394, allocations: 153.4 kB / 0.5599 GB, free: 1.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.1395, allocations: 51.41 kB / 0.5599 GB, free: 1.711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1396, allocations: 151.5 kB / 0.5601 GB, free: 1.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1397, allocations: 25.7 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.1397, allocations: 100.1 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1398, allocations: 11.86 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.1398, allocations: 25.7 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1399, allocations: 322.8 kB / 0.5605 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.14, allocations: 19.98 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.1401, allocations: 28.03 kB / 0.5606 GB, free: 1.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1403, allocations: 56.77 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1403, allocations: 3.938 kB / 0.5606 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002204/0.1405, allocations: 89.61 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1405, allocations: 4 kB / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1405, allocations: 4 kB / 0.5607 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1405, allocations: 0 / 0.5607 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.1406, allocations: 11.94 kB / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1406, allocations: 0 / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.1406, allocations: 11.92 kB / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1406, allocations: 0 / 0.5608 GB, free: 0.8164 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 9.869e-05/0.1407, allocations: 128 kB / 0.5609 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.1408, allocations: 7.953 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.1411, allocations: 93.95 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1411, allocations: 4 kB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1411, allocations: 0 / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1411, allocations: 3.938 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.1416, allocations: 358.5 kB / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1416, allocations: 0 / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.1416, allocations: 16.3 kB / 0.5613 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1416, allocations: 0 / 0.5613 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1417, allocations: 11.94 kB / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1417, allocations: 0 / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1417, allocations: 0 / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.142, allocations: 183.7 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.142, allocations: 81.06 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.142, allocations: 15.67 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.1421, allocations: 0 / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1421, allocations: 8 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1421, allocations: 0 / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1422, allocations: 116.3 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1422, allocations: 0 / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1425, allocations: 19.94 kB / 0.5618 GB, free: 15.68 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.001997/0.1445, allocations: 1.029 MB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1447, allocations: 51.89 kB / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1447, allocations: 4 kB / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.1448, allocations: 23.98 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1452, allocations: 19.94 kB / 0.5629 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1471, allocations: 1.464 MB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1474, allocations: 0.6924 MB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.044e-05/0.1474, allocations: 15.77 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.1475, allocations: 31.42 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1475, allocations: 0 / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1659, allocations: 2.629 MB / 0.5676 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/8.564, allocations: 4.062 kB / 0.5676 GB, free: 9.809 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.816604116989765]