Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001269/0.001269, allocations: 104.5 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.001188/0.001188, 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.482/1.482, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2522/0.2522, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.75 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003371/0.1337, allocations: 1.545 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.1345, allocations: 399.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.1346, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1348, allocations: 23.86 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.1352, allocations: 39.83 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1355, allocations: 79.72 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1357, allocations: 59.83 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1358, allocations: 19.97 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.1359, allocations: 15.94 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.1359, allocations: 31.73 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.136, allocations: 4 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1361, allocations: 31.97 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1361, allocations: 11.94 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.1362, allocations: 15.88 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1364, allocations: 72.08 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1364, allocations: 0 / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1364, allocations: 0 / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1364, allocations: 0 / 471.7 MB, free: 11.91 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.0005229/0.1369, allocations: 375.3 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.137, allocations: 12.03 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.137, allocations: 38.69 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1371, allocations: 4.844 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1373, allocations: 192.1 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1373, allocations: 4.375 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1374, allocations: 4.375 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1375, allocations: 57.56 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1376, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1376, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1376, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1377, allocations: 27.97 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.1381, allocations: 272.9 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1383, allocations: 46.55 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.1384, allocations: 12.86 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1384, allocations: 8 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1385, allocations: 30.56 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1385, allocations: 0 / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005987/0.1391, allocations: 137.3 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.1392, allocations: 51.41 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1393, allocations: 147.4 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1393, allocations: 29.7 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.1394, allocations: 92.14 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1394, allocations: 23.67 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1395, allocations: 13.72 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1396, allocations: 322.8 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.1397, allocations: 15.98 kB / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.1397, allocations: 19.98 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1399, allocations: 48.83 kB / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1399, allocations: 0 / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001735/0.1401, allocations: 77.58 kB / 473.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1401, allocations: 8 kB / 473.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1401, allocations: 0 / 473.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1401, allocations: 7.922 kB / 473.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.1402, allocations: 11.94 kB / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1402, allocations: 4 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.1402, allocations: 7.984 kB / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1403, allocations: 7.938 kB / 473.8 MB, free: 9.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 (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 8.697e-05/0.1403, allocations: 113.8 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.1404, allocations: 7.906 kB / 473.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.1406, allocations: 85.97 kB / 474 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1406, allocations: 0 / 474 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1406, allocations: 12.25 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1407, allocations: 0 / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.1411, allocations: 346.4 kB / 474.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1411, allocations: 3.984 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.1412, allocations: 12 kB / 474.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1412, allocations: 0 / 474.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1412, allocations: 0 / 474.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1412, allocations: 7.938 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1412, allocations: 0 / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1414, allocations: 179.6 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.1415, allocations: 85.02 kB / 474.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1415, allocations: 7.984 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.1416, allocations: 11.92 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1416, allocations: 4 kB / 474.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1417, allocations: 4 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.2e-05/0.1417, allocations: 114.1 kB / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.142, allocations: 12 kB / 474.8 MB, free: 8.512 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.001509/0.1435, allocations: 1.008 MB / 475.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.1438, allocations: 43.97 kB / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1438, allocations: 0 / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.1439, allocations: 31.91 kB / 475.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.1442, allocations: 19.59 kB / 475.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.1459, allocations: 1.399 MB / 477.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1463, allocations: 0.6924 MB / 477.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.1463, allocations: 16.2 kB / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.1464, allocations: 19.44 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1464, allocations: 0 / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.1676, allocations: 2.357 MB / 480.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.815, allocations: 18.17 kB / 480.4 MB, free: 3.004 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches