Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001375/0.001375, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001723/0.001723, allocations: 194 kB / 18.12 MB, free: 5.383 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.462/1.462, allocations: 222.9 MB / 241.8 MB, free: 15.46 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.2303/0.2303, allocations: 44.17 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 67.7 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1441, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.004059/0.1482, allocations: 1.68 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.1492, allocations: 455.2 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.1493, allocations: 0 / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.1499, allocations: 447.2 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.1504, allocations: 251.5 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.1509, allocations: 159.4 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.1512, allocations: 163.7 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1514, allocations: 31.91 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1516, allocations: 107.7 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.1518, allocations: 203.6 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.1519, allocations: 0 / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.152, allocations: 51.92 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1521, allocations: 87.62 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1523, allocations: 107 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.1526, allocations: 267.2 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1526, allocations: 0 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1526, allocations: 0 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1526, allocations: 0 / 472.6 MB, free: 10.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008588/0.1535, allocations: 0.6415 MB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1535, allocations: 8.031 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.1536, allocations: 50.61 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.1537, allocations: 40.38 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.154, allocations: 292.2 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.154, allocations: 384 / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1541, allocations: 12.28 kB / 473.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1542, allocations: 61.61 kB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1543, allocations: 0 / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1543, allocations: 4 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1543, allocations: 7.938 kB / 473.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1544, allocations: 39.97 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.155, allocations: 412.5 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1552, allocations: 46.59 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1552, allocations: 24.94 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1552, allocations: 4 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1553, allocations: 34.56 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.1553, allocations: 0 / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001021/0.1563, allocations: 311.9 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1564, allocations: 55.34 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008305/0.1572, allocations: 0.8691 MB / 475.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1572, allocations: 29.7 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1574, allocations: 220 kB / 475.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.1575, allocations: 27.64 kB / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.1575, allocations: 21.66 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1577, allocations: 374.7 kB / 476.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.1578, allocations: 27.98 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.1579, allocations: 31.97 kB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.158, allocations: 76.81 kB / 476.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.158, allocations: 0 / 476.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002511/0.1583, allocations: 141.1 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1583, allocations: 12 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1583, allocations: 0 / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1584, allocations: 0 / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1585, allocations: 23.86 kB / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1585, allocations: 0 / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.1586, allocations: 7.984 kB / 476.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1586, allocations: 7.938 kB / 476.5 MB, free: 6.664 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 (8): * Single equations (assignments): 8 * 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.0001952/0.1588, allocations: 209.8 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.1588, allocations: 51.42 kB / 476.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.1592, allocations: 165.5 kB / 476.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.1592, allocations: 8.359 kB / 476.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1592, allocations: 7.922 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1592, allocations: 0 / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.1599, allocations: 0.5152 MB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.16, allocations: 0 / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.16, allocations: 19.98 kB / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.1601, allocations: 3.984 kB / 477.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1601, allocations: 4 kB / 477.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1601, allocations: 4 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1601, allocations: 4.078 kB / 477.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.1604, allocations: 259.7 kB / 477.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.1605, allocations: 112.5 kB / 477.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1606, allocations: 4 kB / 477.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.1607, allocations: 7.984 kB / 477.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1607, allocations: 4 kB / 477.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1608, allocations: 4 kB / 477.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006513/0.1614, allocations: 0.6589 MB / 478.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1614, allocations: 0 / 478.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1617, allocations: 28 kB / 478.5 MB, free: 4.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001744/0.1635, allocations: 1.139 MB / 479.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1638, allocations: 71.95 kB / 479.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1638, allocations: 4 kB / 479.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1639, allocations: 39.92 kB / 479.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.1644, allocations: 32.83 kB / 479.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.1687, allocations: 3.458 MB / 483.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.1692, allocations: 0.8379 MB / 484.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.1693, allocations: 20.72 kB / 484.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.1695, allocations: 119.4 kB / 484.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1695, allocations: 4 kB / 484.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.193, allocations: 6.06 MB / 490.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.1933, allocations: 232.4 kB / 490.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.223, allocations: 4 kB / 490.5 MB, free: 8.586 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches