Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0013/0.0013, allocations: 116.4 kB / 18.49 MB, free: 4.66 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.001339/0.001339, allocations: 211 kB / 21.46 MB, free: 1.711 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.494/1.494, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2347/0.2347, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 59.91 kB / 0.4916 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1313, allocations: 65.99 MB / 0.5561 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00371/0.135, allocations: 1.595 MB / 0.5576 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1362, allocations: 0.5533 MB / 0.5582 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.1363, allocations: 0 / 0.5582 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.1366, allocations: 27.84 kB / 0.5582 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1369, allocations: 83.62 kB / 0.5583 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1373, allocations: 111.7 kB / 0.5584 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1374, allocations: 67.77 kB / 0.5585 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1376, allocations: 8 kB / 0.5585 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.1376, allocations: 23.92 kB / 0.5585 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.1377, allocations: 23.84 kB / 0.5585 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1377, allocations: 4 kB / 0.5585 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1378, allocations: 35.98 kB / 0.5586 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.1379, allocations: 7.938 kB / 0.5586 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.1379, allocations: 35.8 kB / 0.5586 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1382, allocations: 87.53 kB / 0.5587 GB, free: 3.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1382, allocations: 0 / 0.5587 GB, free: 3.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1382, allocations: 0 / 0.5587 GB, free: 3.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1382, allocations: 4 kB / 0.5587 GB, free: 3.172 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.0006293/0.1388, allocations: 390.9 kB / 0.5591 GB, free: 2.742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.1389, allocations: 12.03 kB / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.789e-05/0.1389, allocations: 192 / 0.5591 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1389, allocations: 38.73 kB / 0.5591 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.139, allocations: 12.84 kB / 0.5591 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1393, allocations: 200.7 kB / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1393, allocations: 7.875 kB / 0.5593 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.1393, allocations: 7.984 kB / 0.5593 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1395, allocations: 53.62 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1395, allocations: 0 / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1395, allocations: 0 / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1395, allocations: 4 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1396, allocations: 27.97 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.1402, allocations: 276.9 kB / 0.5597 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1404, allocations: 54.48 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.1405, allocations: 12.84 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1405, allocations: 4 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1405, allocations: 38.56 kB / 0.5598 GB, free: 1.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1405, allocations: 0 / 0.5598 GB, free: 1.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006996/0.1412, allocations: 149.5 kB / 0.5599 GB, free: 1.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1413, allocations: 59.34 kB / 0.56 GB, free: 1.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1415, allocations: 181.9 kB / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1415, allocations: 25.7 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.1416, allocations: 100.1 kB / 0.5603 GB, free: 1.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.1417, allocations: 19.89 kB / 0.5603 GB, free: 1.316 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.1417, allocations: 17.72 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1419, allocations: 318.8 kB / 0.5606 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.1419, allocations: 19.98 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.142, allocations: 23.98 kB / 0.5606 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1422, allocations: 56.81 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1422, allocations: 3.938 kB / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002137/0.1424, allocations: 85.58 kB / 0.5608 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1424, allocations: 5.875 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1424, allocations: 0 / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1424, allocations: 0 / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.1425, allocations: 15.98 kB / 0.5608 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1425, allocations: 3.938 kB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.1425, allocations: 15.98 kB / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1426, allocations: 0 / 0.5608 GB, free: 0.7383 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 0.0001021/0.1427, allocations: 124 kB / 0.5609 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1427, allocations: 7.953 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.143, allocations: 102.2 kB / 0.561 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.143, allocations: 4 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.143, allocations: 3.938 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.143, allocations: 4 kB / 0.5611 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.1435, allocations: 354.5 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1435, allocations: 0 / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.1435, allocations: 11.98 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1435, allocations: 11.88 kB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1435, allocations: 4 kB / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1435, allocations: 0 / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1435, allocations: 0 / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1438, allocations: 183.5 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1439, allocations: 92.95 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1439, allocations: 3.984 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.144, allocations: 4 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.144, allocations: 4 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.144, allocations: 0 / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1441, allocations: 139.2 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1441, allocations: 3.938 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1444, allocations: 19.94 kB / 0.5619 GB, free: 15.58 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.002013/0.1464, allocations: 1.026 MB / 0.5629 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1467, allocations: 55.89 kB / 0.5629 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1467, allocations: 0 / 0.5629 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.1467, allocations: 23.98 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1471, allocations: 19.03 kB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1491, allocations: 1.519 MB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1494, allocations: 0.7041 MB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.781e-05/0.1495, allocations: 16.05 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.1496, allocations: 23.42 kB / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1496, allocations: 0 / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.1703, allocations: 2.737 MB / 0.5678 GB, free: 9.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/8.636, allocations: 12 kB / 0.5678 GB, free: 9.535 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.768599187023938]