Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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.001255/0.001256, allocations: 108.6 kB / 17.21 MB, free: 6.273 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.001547/0.001547, allocations: 194 kB / 18.12 MB, free: 5.363 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.405/1.405, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.1977/0.1977, allocations: 44.18 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002523, allocations: 65.8 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.139, allocations: 60.84 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003248/0.1423, allocations: 1.61 MB / 470.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.1432, allocations: 423.2 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.1433, allocations: 0 / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1436, allocations: 19.92 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.1438, allocations: 31.91 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1441, allocations: 95.81 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1443, allocations: 55.84 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1444, allocations: 12 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.1445, allocations: 23.84 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.1445, allocations: 15.94 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1446, allocations: 0 / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.1446, allocations: 27.98 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.1447, allocations: 15.92 kB / 470.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.1448, allocations: 23.8 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1449, allocations: 76.08 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1449, allocations: 7.938 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1449, allocations: 0 / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.145, allocations: 0 / 471.1 MB, free: 12.28 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.0004728/0.1454, allocations: 379.2 kB / 471.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1455, allocations: 15.97 kB / 471.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.1455, allocations: 38.73 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1456, allocations: 8.844 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1458, allocations: 184.2 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1458, allocations: 384 / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.1458, allocations: 8.375 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.146, allocations: 53.61 kB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.146, allocations: 3.938 kB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.146, allocations: 4 kB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.146, allocations: 3.938 kB / 471.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.1461, allocations: 19.98 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.1465, allocations: 288.8 kB / 472 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1468, allocations: 50.5 kB / 472.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.1468, allocations: 16.86 kB / 472.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1469, allocations: 4.078 kB / 472.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1469, allocations: 30.56 kB / 472.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1469, allocations: 0 / 472.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005886/0.1475, allocations: 149.3 kB / 472.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1475, allocations: 51.41 kB / 472.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1477, allocations: 164.2 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1477, allocations: 29.7 kB / 472.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.1478, allocations: 100.1 kB / 472.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1478, allocations: 15.66 kB / 472.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1479, allocations: 25.7 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.148, allocations: 322.8 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.1481, allocations: 19.98 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.1482, allocations: 23.97 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1483, allocations: 48.83 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1483, allocations: 0 / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001974/0.1485, allocations: 97.7 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1485, allocations: 4 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1485, allocations: 3.984 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1486, allocations: 0 / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.1486, allocations: 12.28 kB / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1486, allocations: 3.938 kB / 473.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.1487, allocations: 7.984 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1487, allocations: 3.938 kB / 473.2 MB, free: 9.898 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.723e-05/0.1488, allocations: 121.8 kB / 473.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.483e-05/0.1488, allocations: 7.906 kB / 473.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1491, allocations: 105.9 kB / 473.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1491, allocations: 0 / 473.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1491, allocations: 0 / 473.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1491, allocations: 0 / 473.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1495, allocations: 354.5 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1496, allocations: 0 / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.1496, allocations: 19.92 kB / 473.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1496, allocations: 0 / 473.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1496, allocations: 0 / 473.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1497, allocations: 3.938 kB / 473.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1497, allocations: 0 / 473.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1499, allocations: 187.4 kB / 474 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.1499, allocations: 88.95 kB / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.15, allocations: 256 / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.15, allocations: 7.938 kB / 474.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1501, allocations: 7.984 kB / 474.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1501, allocations: 8 kB / 474.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.327e-05/0.1502, allocations: 123.2 kB / 474.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1502, allocations: 0 / 474.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1504, allocations: 16 kB / 474.2 MB, free: 8.762 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.001354/0.1518, allocations: 1.018 MB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.152, allocations: 47.97 kB / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.152, allocations: 11.94 kB / 475.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.1521, allocations: 32.03 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1525, allocations: 23.7 kB / 475.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1542, allocations: 1.501 MB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1545, allocations: 0.6926 MB / 477.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.069e-05/0.1546, allocations: 11.98 kB / 477.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.1546, allocations: 27.42 kB / 477.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1546, allocations: 0 / 477.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.1685, allocations: 2.366 MB / 480 MB, free: 3.148 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/0.1688, allocations: 240.6 kB / 480.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.106, allocations: 3.938 kB / 480.2 MB, free: 2.883 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches