Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001789/0.001797, allocations: 107 kB / 15.98 MB, free: 5.906 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.001971/0.001971, allocations: 188.7 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.241/0.241, allocations: 43.51 MB / 313.6 MB, free: 0.6914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.19 kB / 382.3 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.127, allocations: 57.8 MB / 440.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002829/0.1299, allocations: 1.611 MB / 441.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005583/0.1304, allocations: 335.9 kB / 442.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.1305, allocations: 0 / 442.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.131, allocations: 451.2 kB / 442.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1313, allocations: 251.5 kB / 442.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1317, allocations: 127.4 kB / 442.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1319, allocations: 159.8 kB / 443 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.132, allocations: 19.94 kB / 443 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/0.1321, allocations: 111.7 kB / 443.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1323, allocations: 211.7 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1323, allocations: 0 / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.539e-05/0.1324, allocations: 31.92 kB / 443.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.535e-05/0.1325, allocations: 87.69 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.1326, allocations: 103 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1328, allocations: 235 kB / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1328, allocations: 0 / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1328, allocations: 0 / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1328, allocations: 4 kB / 443.8 MB, free: 3.523 MB / 318.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.0005191/0.1333, allocations: 0.6258 MB / 444.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1334, allocations: 15.89 kB / 444.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.1334, allocations: 38.69 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.1335, allocations: 48.31 kB / 444.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1337, allocations: 296.1 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1337, allocations: 8.375 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.1337, allocations: 384 / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1338, allocations: 53.61 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1339, allocations: 3.984 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1339, allocations: 0 / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1339, allocations: 0 / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.687e-05/0.134, allocations: 31.98 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1343, allocations: 384.7 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.1344, allocations: 26.58 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.1345, allocations: 20.91 kB / 445.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1345, allocations: 0 / 445.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.1345, allocations: 34.56 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1345, allocations: 0 / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.1347, allocations: 109 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.1348, allocations: 51.41 kB / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.1353, allocations: 0.8691 MB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.1354, allocations: 25.7 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1355, allocations: 224.1 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.1355, allocations: 8.031 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.1355, allocations: 21.66 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.1356, allocations: 358.7 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.1357, allocations: 11.98 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.1357, allocations: 8 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.1358, allocations: 32.77 kB / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1358, allocations: 4.062 kB / 447.1 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.1359, allocations: 93.12 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.136, allocations: 4 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.136, allocations: 0 / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.136, allocations: 0 / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.1361, allocations: 7.984 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1361, allocations: 0 / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.1361, allocations: 8 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1362, allocations: 4 kB / 447.2 MB, free: 15.9 MB / 334.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.0001899/0.1364, allocations: 225.6 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.1364, allocations: 43.44 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.1366, allocations: 108.6 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1366, allocations: 0 / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1367, allocations: 0 / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1367, allocations: 0 / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1369, allocations: 285.5 kB / 447.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1369, allocations: 0 / 447.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.137, allocations: 12.02 kB / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.137, allocations: 0 / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.137, allocations: 0 / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.137, allocations: 0 / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.137, allocations: 0 / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.1372, allocations: 191 kB / 448 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.19e-05/0.1373, allocations: 112.5 kB / 448.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1373, allocations: 12.03 kB / 448.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1374, allocations: 0 / 448.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.1374, allocations: 3.984 kB / 448.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.1375, allocations: 4 kB / 448.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005778/0.138, allocations: 0.6472 MB / 448.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.138, allocations: 0 / 448.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1383, allocations: 19.94 kB / 448.8 MB, free: 14.15 MB / 334.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.001136/0.1394, allocations: 0.9804 MB / 449.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1396, allocations: 31.92 kB / 449.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1396, allocations: 0 / 449.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.1397, allocations: 15.98 kB / 449.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.14, allocations: 28.28 kB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.1433, allocations: 3.224 MB / 453.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1437, allocations: 0.8219 MB / 453.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.1438, allocations: 16.05 kB / 454 MB, free: 8.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1439, allocations: 115.4 kB / 454.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1439, allocations: 3.938 kB / 454.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.1595, allocations: 5.51 MB / 459.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.1597, allocations: 236.3 kB / 459.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.077, allocations: 0 / 459.8 MB, free: 3.074 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches