Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002118, allocations: 77.62 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1318, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003385/0.1352, allocations: 1.623 MB / 481.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1363, allocations: 0.5299 MB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.1364, allocations: 3.938 kB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.1366, allocations: 79.7 kB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.137, allocations: 103.6 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1374, allocations: 87.75 kB / 482.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1376, allocations: 79.81 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1377, allocations: 12 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.1377, allocations: 39.84 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1379, allocations: 47.83 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1379, allocations: 8 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.138, allocations: 47.92 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.1381, allocations: 23.91 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.1381, allocations: 27.75 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1383, allocations: 99.98 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1384, allocations: 0 / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1384, allocations: 3.984 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1384, allocations: 0 / 482.9 MB, free: 2.363 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004762/0.1389, allocations: 399 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1389, allocations: 16.03 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.139, allocations: 34.75 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.139, allocations: 16.69 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1392, allocations: 204 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.1393, allocations: 384 / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1393, allocations: 4.375 kB / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1394, allocations: 57.61 kB / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1395, allocations: 0 / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1395, allocations: 0 / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1395, allocations: 0 / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.1396, allocations: 31.97 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.14, allocations: 300.7 kB / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1401, allocations: 38.56 kB / 484 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.1401, allocations: 16.86 kB / 484 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1402, allocations: 4.094 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1402, allocations: 34.55 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1402, allocations: 0 / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009297/0.1411, allocations: 229.4 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1412, allocations: 59.41 kB / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1414, allocations: 207.3 kB / 484.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1414, allocations: 25.7 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.1415, allocations: 100.1 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.1415, allocations: 31.56 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.1416, allocations: 21.7 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1417, allocations: 322.8 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1418, allocations: 32.06 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.1419, allocations: 23.92 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.142, allocations: 65.05 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1421, allocations: 0 / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000214/0.1423, allocations: 105.5 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1423, allocations: 4 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1423, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1423, allocations: 4 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1424, allocations: 23.92 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1425, allocations: 3.938 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1425, allocations: 4 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1425, allocations: 4 kB / 485.3 MB, free: 15.75 MB / 366.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 9.173e-05/0.1426, allocations: 129.8 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.1427, allocations: 11.81 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.143, allocations: 122.9 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.143, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.143, allocations: 3.938 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.143, allocations: 4 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.1435, allocations: 399.3 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1435, allocations: 4.031 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.1436, allocations: 23.92 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1436, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1436, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1436, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1436, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1439, allocations: 208.1 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.1439, allocations: 92.95 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.144, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.144, allocations: 7.984 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.1441, allocations: 4 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1441, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1442, allocations: 155.9 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1442, allocations: 0 / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1445, allocations: 23.98 kB / 486.5 MB, free: 14.47 MB / 366.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.001574/0.1461, allocations: 1.097 MB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1463, allocations: 67.89 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1464, allocations: 0 / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.1465, allocations: 35.97 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1469, allocations: 16.06 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1488, allocations: 1.637 MB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1491, allocations: 0.7002 MB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.1491, allocations: 12.97 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.1492, allocations: 35.42 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1492, allocations: 4 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.1735, allocations: 2.958 MB / 493 MB, free: 7.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.62, allocations: 8.422 kB / 493 MB, free: 7.992 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches