Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001456/0.001456, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001189/0.001189, allocations: 191.9 kB / 18.56 MB, free: 4.605 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 / 242.3 MB, free: 15.22 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.2171/0.2171, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 58.97 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1438, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003325/0.1472, allocations: 1.583 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.148, allocations: 403.2 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1481, allocations: 3.938 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1483, allocations: 67.78 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.1486, allocations: 59.81 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1489, allocations: 95.62 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1491, allocations: 71.89 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1493, allocations: 16.17 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.1493, allocations: 27.86 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1495, allocations: 51.81 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1495, allocations: 7.938 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1496, allocations: 39.98 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.1497, allocations: 15.98 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.1497, allocations: 35.73 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.15, allocations: 107.9 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.15, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.15, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.15, allocations: 0 / 471.9 MB, free: 11.7 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.0006285/0.1506, allocations: 394 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.1507, allocations: 12.03 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.1507, allocations: 34.75 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1508, allocations: 8.844 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.151, allocations: 207.7 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1511, allocations: 384 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1511, allocations: 8.125 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1513, allocations: 53.67 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1513, allocations: 0 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1513, allocations: 0 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1513, allocations: 0 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1515, allocations: 23.98 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1519, allocations: 300.7 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/0.152, allocations: 46.5 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.1521, allocations: 20.94 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.1521, allocations: 0 / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1521, allocations: 34.56 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1521, allocations: 4 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008385/0.153, allocations: 221 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.153, allocations: 55.34 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1532, allocations: 190.2 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1532, allocations: 37.7 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.1533, allocations: 96.14 kB / 473.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1533, allocations: 27.55 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1534, allocations: 21.72 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1535, allocations: 322.8 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.1536, allocations: 19.98 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1536, allocations: 32.03 kB / 474 MB, free: 9.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1538, allocations: 60.84 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1538, allocations: 0 / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001963/0.154, allocations: 101.5 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.154, allocations: 4 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.154, allocations: 0 / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1541, allocations: 4 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1542, allocations: 15.98 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1542, allocations: 7.938 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.1542, allocations: 8.422 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1542, allocations: 8 kB / 474.3 MB, free: 9.141 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 (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 8.288e-05/0.1543, allocations: 125.8 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.1544, allocations: 7.906 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.1546, allocations: 118.3 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1546, allocations: 3.984 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1547, allocations: 7.938 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1547, allocations: 4 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1552, allocations: 403.5 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1552, allocations: 3.938 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.1553, allocations: 15.98 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1553, allocations: 4 kB / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1553, allocations: 4.031 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1553, allocations: 0 / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1553, allocations: 4 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1556, allocations: 204.3 kB / 475.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1556, allocations: 88.95 kB / 475.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1556, allocations: 8 kB / 475.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1557, allocations: 4 kB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.1558, allocations: 7.984 kB / 475.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.1558, allocations: 4 kB / 475.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1559, allocations: 148.9 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1559, allocations: 0 / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1562, allocations: 16 kB / 475.4 MB, free: 7.871 MB / 350.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.001466/0.1576, allocations: 1.092 MB / 476.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.1579, allocations: 67.91 kB / 476.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1579, allocations: 0 / 476.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.186e-05/0.158, allocations: 31.97 kB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1584, allocations: 23.92 kB / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.16, allocations: 1.604 MB / 478.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1603, allocations: 0.7041 MB / 478.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.1603, allocations: 20.95 kB / 478.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.1604, allocations: 27.44 kB / 479 MB, free: 4.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1604, allocations: 0 / 479 MB, free: 4.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.1813, allocations: 2.872 MB / 481.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.031, allocations: 11.62 kB / 481.9 MB, free: 1.523 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches