Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001279/0.001279, allocations: 119.4 kB / 17.79 MB, free: 5.133 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.001436/0.001436, allocations: 216.2 kB / 20.75 MB, free: 2.18 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.568/1.568, allocations: 230.6 MB / 254.1 MB, free: 15.05 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.2542/0.2542, allocations: 46.93 MB / 357.1 MB, free: 10.27 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 67.89 kB / 0.491 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1325, allocations: 65.99 MB / 0.5554 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003311/0.1359, allocations: 1.599 MB / 0.557 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1378, allocations: 1.175 MB / 0.5581 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1378, allocations: 0 / 0.5581 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1381, allocations: 31.78 kB / 0.5581 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1384, allocations: 83.61 kB / 0.5582 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1388, allocations: 111.7 kB / 0.5583 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1389, allocations: 67.78 kB / 0.5584 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.139, allocations: 7.984 kB / 0.5584 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.1391, allocations: 35.84 kB / 0.5584 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1392, allocations: 27.86 kB / 0.5585 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1393, allocations: 4 kB / 0.5585 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.1395, allocations: 99.92 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1395, allocations: 15.88 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.1395, allocations: 35.78 kB / 0.5586 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.1398, allocations: 135.5 kB / 0.5587 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1398, allocations: 0 / 0.5587 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1398, allocations: 0 / 0.5587 GB, free: 2.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1399, allocations: 0 / 0.5587 GB, free: 2.316 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.0005553/0.1404, allocations: 404.8 kB / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1405, allocations: 12.03 kB / 0.5591 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.1405, allocations: 34.69 kB / 0.5592 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1405, allocations: 8.891 kB / 0.5592 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1408, allocations: 200.2 kB / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1408, allocations: 4.375 kB / 0.5594 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1408, allocations: 4.375 kB / 0.5594 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.141, allocations: 71.27 kB / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.141, allocations: 0 / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.141, allocations: 0 / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.141, allocations: 4 kB / 0.5594 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.1411, allocations: 23.92 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.1415, allocations: 288.9 kB / 0.5597 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1417, allocations: 42.55 kB / 0.5598 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.1418, allocations: 16.86 kB / 0.5598 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1418, allocations: 0 / 0.5598 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1418, allocations: 46.58 kB / 0.5598 GB, free: 1.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1418, allocations: 0 / 0.5598 GB, free: 1.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006248/0.1425, allocations: 145.5 kB / 0.56 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.1425, allocations: 85.05 kB / 0.5601 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1427, allocations: 143.9 kB / 0.5602 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1427, allocations: 25.7 kB / 0.5602 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.1428, allocations: 100.1 kB / 0.5603 GB, free: 484 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.1428, allocations: 19.8 kB / 0.5603 GB, free: 464 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1428, allocations: 17.72 kB / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.143, allocations: 322.8 kB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.1431, allocations: 23.92 kB / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.1431, allocations: 33.7 kB / 0.5607 GB, free: 44 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1433, allocations: 65.03 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1433, allocations: 0 / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002111/0.1435, allocations: 85.56 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1435, allocations: 4 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1435, allocations: 0 / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1436, allocations: 4 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.1436, allocations: 11.98 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1436, allocations: 3.984 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.1437, allocations: 15.92 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1437, allocations: 0 / 0.5609 GB, free: 15.85 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 (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.899e-05/0.1438, allocations: 120 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.1438, allocations: 3.953 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.1441, allocations: 101.9 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1441, allocations: 0 / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1441, allocations: 0 / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1441, allocations: 7.938 kB / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.1446, allocations: 362.5 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1446, allocations: 0 / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.1447, allocations: 11.98 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1447, allocations: 0 / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1447, allocations: 8.219 kB / 0.5615 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1447, allocations: 3.938 kB / 0.5615 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1447, allocations: 0 / 0.5615 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.145, allocations: 191.6 kB / 0.5617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.145, allocations: 89.05 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.145, allocations: 3.938 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.1451, allocations: 7.984 kB / 0.5618 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1452, allocations: 4 kB / 0.5618 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-06/0.1452, allocations: 0 / 0.5618 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1453, allocations: 121.3 kB / 0.5619 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1453, allocations: 0 / 0.5619 GB, free: 14.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1456, allocations: 39.81 kB / 0.5619 GB, free: 14.69 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.002317/0.1479, allocations: 1.097 MB / 0.563 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1481, allocations: 63.89 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1481, allocations: 0 / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.368e-05/0.1482, allocations: 27.92 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1486, allocations: 18.02 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1505, allocations: 1.447 MB / 0.5645 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1509, allocations: 0.6963 MB / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.647e-05/0.1509, allocations: 16.02 kB / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.151, allocations: 27.42 kB / 0.5652 GB, free: 11.36 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.151, allocations: 0 / 0.5652 GB, free: 11.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.1787, allocations: 3.275 MB / 0.5684 GB, free: 8.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.188, allocations: 12.81 kB / 0.5685 GB, free: 8.086 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.371246796799824]