Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",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.0009309/0.0009309, allocations: 96.14 kB / 15.87 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 197.7 kB / 16.79 MB, free: 6.828 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.4/1.4, allocations: 205.1 MB / 222.6 MB, free: 4.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3326/0.3326, allocations: 43.5 MB / 313.5 MB, free: 8.297 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.001312/0.001312, allocations: 68.44 kB / 382.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1194, allocations: 57.78 MB / 439.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002637/0.122, allocations: 1.676 MB / 441.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005538/0.1226, allocations: 327.7 kB / 441.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.1227, allocations: 7.938 kB / 441.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.1232, allocations: 443.2 kB / 442.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1234, allocations: 251.5 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1237, allocations: 99.81 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1239, allocations: 163.6 kB / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.124, allocations: 16.47 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.124, allocations: 103.7 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1242, allocations: 203.6 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1243, allocations: 4 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1244, allocations: 31.98 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1245, allocations: 83.62 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.1246, allocations: 103 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1248, allocations: 254.9 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1248, allocations: 0 / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1248, allocations: 0 / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1248, allocations: 0 / 443.6 MB, free: 10.79 MB / 382.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.0006727/0.1255, allocations: 0.6414 MB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1256, allocations: 8.031 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.1256, allocations: 38.73 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.1257, allocations: 40.38 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1259, allocations: 312.1 kB / 444.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1259, allocations: 4.375 kB / 444.7 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.1259, allocations: 8.125 kB / 444.7 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1261, allocations: 53.67 kB / 444.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1261, allocations: 0 / 444.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1261, allocations: 4 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1261, allocations: 0 / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1263, allocations: 31.97 kB / 444.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.1267, allocations: 392.6 kB / 445.2 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1268, allocations: 46.55 kB / 445.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.1269, allocations: 20.94 kB / 445.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1269, allocations: 4 kB / 445.2 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.127, allocations: 38.56 kB / 445.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.127, allocations: 0 / 445.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008392/0.1278, allocations: 283.9 kB / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1279, allocations: 55.41 kB / 445.6 MB, free: 8.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.1287, allocations: 0.8613 MB / 446.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1287, allocations: 29.7 kB / 446.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.1288, allocations: 208.1 kB / 446.7 MB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.1289, allocations: 23.66 kB / 446.7 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.1289, allocations: 25.64 kB / 446.7 MB, free: 7.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1291, allocations: 362.8 kB / 447.1 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.1292, allocations: 31.97 kB / 447.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.1293, allocations: 31.97 kB / 447.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.1295, allocations: 72.81 kB / 447.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1295, allocations: 0 / 447.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002697/0.1298, allocations: 153 kB / 447.4 MB, free: 6.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1298, allocations: 4 kB / 447.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1298, allocations: 0 / 447.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1298, allocations: 3.938 kB / 447.4 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1299, allocations: 23.92 kB / 447.4 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1299, allocations: 3.938 kB / 447.4 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.13, allocations: 11.98 kB / 447.4 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.13, allocations: 4 kB / 447.4 MB, free: 6.77 MB / 382.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.0002078/0.1303, allocations: 217.8 kB / 447.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.1303, allocations: 43.44 kB / 447.7 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.1306, allocations: 161.7 kB / 447.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1307, allocations: 4 kB / 447.8 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1307, allocations: 3.938 kB / 447.8 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1307, allocations: 7.922 kB / 447.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.1313, allocations: 498.4 kB / 448.3 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1313, allocations: 0 / 448.3 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.1314, allocations: 15.98 kB / 448.3 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1314, allocations: 7.938 kB / 448.4 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1314, allocations: 0 / 448.4 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1314, allocations: 0 / 448.4 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1314, allocations: 7.984 kB / 448.4 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1317, allocations: 238.9 kB / 448.6 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.1318, allocations: 112.5 kB / 448.7 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1318, allocations: 7.938 kB / 448.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.1319, allocations: 8.266 kB / 448.7 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.132, allocations: 11.98 kB / 448.7 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.132, allocations: 4 kB / 448.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005279/0.1325, allocations: 0.6472 MB / 449.4 MB, free: 4.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1325, allocations: 0 / 449.4 MB, free: 4.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1328, allocations: 27.98 kB / 449.4 MB, free: 4.668 MB / 382.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.001458/0.1342, allocations: 1.094 MB / 450.5 MB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.1345, allocations: 71.94 kB / 450.6 MB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1345, allocations: 0 / 450.6 MB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1346, allocations: 47.91 kB / 450.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.135, allocations: 25.83 kB / 450.7 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1859/0.3209, allocations: 3.373 MB / 454 MB, free: 48.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3213, allocations: 0.8202 MB / 454.8 MB, free: 48.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.518e-05/0.3214, allocations: 11.12 kB / 454.9 MB, free: 48.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.3215, allocations: 103.1 kB / 455 MB, free: 48.24 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3215, allocations: 0 / 455 MB, free: 48.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.337, allocations: 5.756 MB / 460.7 MB, free: 47.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.3372, allocations: 236.4 kB / 460.9 MB, free: 47.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.149, allocations: 4 kB / 460.9 MB, free: 47.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches