Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 112.3 kB / 17.33 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.00131, allocations: 193.3 kB / 18.25 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2479/0.2479, allocations: 44.18 MB / 336.3 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.75 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1255, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003901/0.1294, allocations: 1.676 MB / 470.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1311, allocations: 1.031 MB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.1312, allocations: 7.938 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1315, allocations: 19.91 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.1318, allocations: 35.84 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.1323, allocations: 167.8 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1325, allocations: 63.78 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1326, allocations: 35.95 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.1327, allocations: 19.92 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1328, allocations: 35.84 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1329, allocations: 4 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.133, allocations: 51.91 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.133, allocations: 19.94 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.1331, allocations: 31.78 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1333, allocations: 99.98 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1333, allocations: 4 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1333, allocations: 0 / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1333, allocations: 0 / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005862/0.1339, allocations: 399.2 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.134, allocations: 12.03 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.134, allocations: 34.69 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.1341, allocations: 8.844 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1343, allocations: 203.2 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1343, allocations: 4.375 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1343, allocations: 4.375 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1346, allocations: 83.3 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1346, allocations: 0 / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1346, allocations: 4 kB / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1346, allocations: 0 / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1348, allocations: 35.97 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.1352, allocations: 312.7 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1354, allocations: 46.55 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.1355, allocations: 24.94 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1355, allocations: 0 / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1356, allocations: 38.56 kB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1356, allocations: 0 / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008505/0.1364, allocations: 221.3 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.1365, allocations: 85.11 kB / 473.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1367, allocations: 153.5 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1367, allocations: 25.7 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.1368, allocations: 96.08 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1368, allocations: 19.7 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.1369, allocations: 21.72 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.137, allocations: 322.8 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1372, allocations: 43.91 kB / 474.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1373, allocations: 49.69 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.1375, allocations: 80.8 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1375, allocations: 0 / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003073/0.1379, allocations: 133.5 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1379, allocations: 6.344 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1379, allocations: 3.938 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1379, allocations: 0 / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.138, allocations: 19.98 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1381, allocations: 3.938 kB / 474.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.1381, allocations: 11.98 kB / 474.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1381, allocations: 7.938 kB / 474.6 MB, free: 8.602 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001019/0.1383, allocations: 125.8 kB / 474.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.1383, allocations: 7.906 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.1387, allocations: 138.6 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1387, allocations: 0 / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1387, allocations: 3.938 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1387, allocations: 4 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.1393, allocations: 418.5 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1393, allocations: 0 / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.456e-05/0.1394, allocations: 23.97 kB / 475.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.1394, allocations: 3.938 kB / 475.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1394, allocations: 3.938 kB / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1394, allocations: 4 kB / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1394, allocations: 0 / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1398, allocations: 215.7 kB / 475.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.1399, allocations: 81.11 kB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1399, allocations: 7.938 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.14, allocations: 15.98 kB / 475.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.14, allocations: 7.969 kB / 475.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.1401, allocations: 4 kB / 475.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.755e-05/0.1402, allocations: 111.2 kB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1402, allocations: 0 / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.1405, allocations: 27.98 kB / 475.8 MB, free: 7.316 MB / 350.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 (7): * Single equations (assignments): 7 * 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.001896/0.1424, allocations: 1.084 MB / 476.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.1427, allocations: 107.8 kB / 476.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1427, allocations: 0 / 476.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1429, allocations: 43.97 kB / 477 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1433, allocations: 23.86 kB / 477 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1452, allocations: 1.61 MB / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1455, allocations: 0.6963 MB / 479.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.585e-05/0.1457, allocations: 20.64 kB / 479.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.1457, allocations: 27.42 kB / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1457, allocations: 0 / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.1609, allocations: 2.926 MB / 482.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.1611, allocations: 237.7 kB / 482.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2, allocations: 0 / 482.5 MB, free: 0.6562 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches