Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001439/0.001439, allocations: 121 kB / 18.5 MB, free: 4.562 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.001608/0.001608, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.513/1.513, allocations: 230.6 MB / 254.8 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.2394/0.2394, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 63.91 kB / 0.4916 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1249, allocations: 65.99 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.0034/0.1283, allocations: 1.619 MB / 0.5577 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1294, allocations: 0.5689 MB / 0.5582 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.1295, allocations: 0 / 0.5582 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.1301, allocations: 447.1 kB / 0.5586 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.1307, allocations: 295.3 kB / 0.5589 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.1312, allocations: 166.6 kB / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.1315, allocations: 171.6 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1316, allocations: 11.98 kB / 0.5592 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1318, allocations: 107.8 kB / 0.5594 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.1321, allocations: 251.5 kB / 0.5596 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1321, allocations: 4 kB / 0.5596 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.1322, allocations: 23.98 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1323, allocations: 87.61 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.1324, allocations: 103 kB / 0.5598 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.1327, allocations: 258.6 kB / 0.56 GB, free: 1.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1327, allocations: 4 kB / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1327, allocations: 0 / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1328, allocations: 0 / 0.56 GB, free: 1.699 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.0008045/0.1336, allocations: 0.6529 MB / 0.5607 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1336, allocations: 12.03 kB / 0.5607 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.471e-05/0.1336, allocations: 4.188 kB / 0.5607 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.1337, allocations: 38.67 kB / 0.5607 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.1337, allocations: 44.66 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1341, allocations: 300.6 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.1341, allocations: 384 / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1341, allocations: 4.125 kB / 0.5611 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1343, allocations: 57.67 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1343, allocations: 7.922 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1343, allocations: 0 / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1343, allocations: 4 kB / 0.5611 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.1344, allocations: 23.92 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.1349, allocations: 388.8 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1351, allocations: 38.61 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.1351, allocations: 12.92 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1351, allocations: 4 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1352, allocations: 34.5 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1352, allocations: 0 / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003212/0.1355, allocations: 109.3 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1355, allocations: 55.53 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.1365, allocations: 0.8738 MB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1365, allocations: 25.7 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.1367, allocations: 228.1 kB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.1367, allocations: 7.891 kB / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1367, allocations: 17.7 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1369, allocations: 362.7 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.137, allocations: 7.984 kB / 0.5632 GB, free: 14.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.137, allocations: 16 kB / 0.5633 GB, free: 14.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/0.1371, allocations: 32.77 kB / 0.5633 GB, free: 14.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1371, allocations: 0 / 0.5633 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001724/0.1373, allocations: 97.41 kB / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1373, allocations: 5.875 kB / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1373, allocations: 0 / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1373, allocations: 4 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.1374, allocations: 12.08 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1374, allocations: 0 / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.1374, allocations: 4 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1375, allocations: 11.88 kB / 0.5634 GB, free: 14 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 (2): * Single equations (assignments): 2 * 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.0002036/0.1377, allocations: 216 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.1377, allocations: 43.67 kB / 0.5637 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.1379, allocations: 104.7 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.138, allocations: 8.031 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.138, allocations: 0 / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.138, allocations: 0 / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.1383, allocations: 293.5 kB / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1383, allocations: 0 / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.1383, allocations: 4 kB / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1383, allocations: 0 / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.1383, allocations: 0 / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1383, allocations: 0 / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1383, allocations: 3.938 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1386, allocations: 203.1 kB / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-05/0.1387, allocations: 116.8 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1387, allocations: 0 / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.1388, allocations: 0 / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.1388, allocations: 4 kB / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1388, allocations: 0 / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007354/0.1395, allocations: 0.6667 MB / 0.565 GB, free: 12.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1395, allocations: 4.031 kB / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1398, allocations: 16 kB / 0.565 GB, free: 12.24 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 (2): * Single equations (assignments): 2 * 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.001837/0.1416, allocations: 0.9858 MB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1418, allocations: 23.92 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1418, allocations: 0 / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.1419, allocations: 11.98 kB / 0.566 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.1423, allocations: 27.73 kB / 0.5661 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.1462, allocations: 3.198 MB / 0.5692 GB, free: 8.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.1467, allocations: 0.8221 MB / 0.57 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.761e-05/0.1468, allocations: 19.8 kB / 0.57 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.1469, allocations: 111.4 kB / 0.5701 GB, free: 7.035 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1469, allocations: 0 / 0.5701 GB, free: 7.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.169, allocations: 5.861 MB / 0.5758 GB, free: 1.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.999/9.168, allocations: 14.33 kB / 0.5759 GB, free: 1.23 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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: 12.405943774967454]