Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001067, allocations: 104.1 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.00118/0.001181, 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.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 70.83 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1217, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003886/0.1256, allocations: 2.033 MB / 482.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1279, allocations: 1.348 MB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1281, allocations: 4 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.1284, allocations: 63.44 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.129, allocations: 207.1 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.1304, allocations: 0.6058 MB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.1309, allocations: 315.2 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.1311, allocations: 68.98 kB / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.1315, allocations: 131.5 kB / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1318, allocations: 191.2 kB / 485.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.1318, allocations: 12 kB / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.132, allocations: 59.98 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.1322, allocations: 155.5 kB / 485.3 MB, free: 12 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.1324, allocations: 178.7 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.133, allocations: 406.2 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.133, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.133, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.1331, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001419/0.1345, allocations: 0.8007 MB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1345, allocations: 8.031 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.1346, allocations: 50.61 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.1349, allocations: 80.25 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/0.1356, allocations: 484.5 kB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1356, allocations: 8.375 kB / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1356, allocations: 15.94 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.1359, allocations: 143.1 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.136, allocations: 3.906 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.136, allocations: 8 kB / 487.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.136, allocations: 4 kB / 487.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.1362, allocations: 91.92 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1373, allocations: 0.6995 MB / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.1375, allocations: 125.2 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1376, allocations: 46.03 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1377, allocations: 3.938 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.1377, allocations: 50.44 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1377, allocations: 4 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001493/0.1392, allocations: 0.5524 MB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1393, allocations: 77.11 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1403, allocations: 0.9376 MB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1403, allocations: 29.7 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1406, allocations: 272.2 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.1406, allocations: 43.27 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.1407, allocations: 37.7 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1409, allocations: 317.9 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.1411, allocations: 59.95 kB / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1412, allocations: 89.55 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.1416, allocations: 169.7 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1416, allocations: 0 / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005048/0.1422, allocations: 240.9 kB / 491.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1422, allocations: 4 kB / 491.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1422, allocations: 0 / 491.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1422, allocations: 4 kB / 491.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1424, allocations: 39.91 kB / 491.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1425, allocations: 3.984 kB / 491.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1426, allocations: 12 kB / 491.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1426, allocations: 7.984 kB / 491.3 MB, free: 9.688 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002253/0.1429, allocations: 213.7 kB / 491.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.143, allocations: 59.25 kB / 491.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006169/0.1436, allocations: 295.5 kB / 491.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1436, allocations: 4 kB / 491.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1437, allocations: 0 / 491.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1437, allocations: 4 kB / 491.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.1449, allocations: 0.8253 MB / 492.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1449, allocations: 4 kB / 492.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1451, allocations: 35.97 kB / 492.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1451, allocations: 0 / 492.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1451, allocations: 8 kB / 492.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1452, allocations: 3.938 kB / 492.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1452, allocations: 3.938 kB / 492.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.1457, allocations: 432.2 kB / 493.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1459, allocations: 144.4 kB / 493.3 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.1459, allocations: 8 kB / 493.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.1461, allocations: 15.92 kB / 493.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1462, allocations: 11.98 kB / 493.4 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1462, allocations: 8 kB / 493.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007596/0.147, allocations: 0.6825 MB / 494.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.147, allocations: 0 / 494.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.1474, allocations: 63.89 kB / 494.1 MB, free: 6.785 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 (16): * Single equations (assignments): 16 * 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.0019/0.1493, allocations: 1.234 MB / 495.4 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.1498, allocations: 179.7 kB / 495.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1498, allocations: 0 / 495.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.15, allocations: 87.89 kB / 495.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.1507, allocations: 92.39 kB / 495.7 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/0.1573, allocations: 5.377 MB / 0.4894 GB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.1578, allocations: 0.8808 MB / 0.4902 GB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.158, allocations: 87.22 kB / 0.4903 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.1582, allocations: 179.4 kB / 0.4905 GB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1582, allocations: 0 / 0.4905 GB, free: 14.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.1884, allocations: 9.937 MB / 0.5002 GB, free: 4.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.499, allocations: 12.42 kB / 0.5002 GB, free: 4.793 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches