Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001448/0.001448, allocations: 104.3 kB / 17.63 MB, free: 5.344 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.001613/0.001613, allocations: 192 kB / 18.56 MB, free: 4.434 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2082/0.2082, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.23 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.0045/0.1393, allocations: 1.561 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1416, allocations: 1.004 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.1417, allocations: 4 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.1421, allocations: 31.78 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.1424, allocations: 31.86 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1427, allocations: 91.62 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1429, allocations: 59.91 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.143, allocations: 11.98 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.95e-05/0.1431, allocations: 23.86 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1433, allocations: 31.84 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1434, allocations: 4 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1435, allocations: 43.98 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.1436, allocations: 15.92 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.1436, allocations: 19.81 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1439, allocations: 92.05 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1439, allocations: 0 / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1439, allocations: 4 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1439, allocations: 0 / 472.4 MB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006486/0.1446, allocations: 379.2 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1446, allocations: 8.031 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.1447, allocations: 34.75 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1447, allocations: 8.844 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1449, allocations: 188.2 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.145, allocations: 4.375 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.145, allocations: 8.359 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1452, allocations: 71.27 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1452, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1453, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.1453, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.1454, allocations: 23.92 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1458, allocations: 280.9 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.146, allocations: 38.56 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.1461, allocations: 16.86 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1461, allocations: 8.016 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1462, allocations: 34.56 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1462, allocations: 0 / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005506/0.1467, allocations: 137.3 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.1468, allocations: 81.11 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.147, allocations: 136.7 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.147, allocations: 25.7 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.147, allocations: 100.1 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1471, allocations: 15.8 kB / 473.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1471, allocations: 17.72 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1473, allocations: 318.8 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.1473, allocations: 19.98 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.1474, allocations: 37.75 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1476, allocations: 44.88 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1476, allocations: 0 / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.1478, allocations: 85.5 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1478, allocations: 8 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1478, allocations: 0 / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1478, allocations: 0 / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.1479, allocations: 8 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1479, allocations: 3.984 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.148, allocations: 11.98 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.148, allocations: 11.88 kB / 474.5 MB, free: 8.855 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 (5): * Single equations (assignments): 5 * 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.0001111/0.1481, allocations: 113.8 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1482, allocations: 3.906 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.1484, allocations: 89.56 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1484, allocations: 0 / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1484, allocations: 3.938 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1484, allocations: 4 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1489, allocations: 346.5 kB / 475 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1489, allocations: 0 / 475 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.149, allocations: 12.3 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.149, allocations: 7.938 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.149, allocations: 0 / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.149, allocations: 7.938 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.149, allocations: 0 / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1493, allocations: 175.4 kB / 475.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.1493, allocations: 85 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1494, allocations: 4 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.1495, allocations: 7.938 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1495, allocations: 8.266 kB / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.1495, allocations: 0 / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.1496, allocations: 107.3 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1496, allocations: 0 / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1499, allocations: 24 kB / 475.5 MB, free: 7.77 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 (5): * Single equations (assignments): 5 * 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.001548/0.1514, allocations: 1.041 MB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1517, allocations: 47.97 kB / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1517, allocations: 0 / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.1518, allocations: 31.92 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1522, allocations: 19.92 kB / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.1539, allocations: 1.376 MB / 478 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1543, allocations: 0.6924 MB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.774e-05/0.1543, allocations: 12.06 kB / 478.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.1544, allocations: 23.42 kB / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of SimCode: time 3.647e-06/0.1544, allocations: 0 / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.177, allocations: 2.666 MB / 481.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.258, allocations: 15.98 kB / 481.4 MB, free: 1.961 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches