Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",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.001872/0.001872, allocations: 103.1 kB / 16.27 MB, free: 5.93 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.002048/0.002048, allocations: 187.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2213/0.2213, allocations: 43.52 MB / 314 MB, free: 0.5117 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 74.55 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1354, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002853/0.1383, allocations: 1.551 MB / 442.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.1389, allocations: 315.5 kB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.1389, allocations: 0 / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1392, allocations: 91.75 kB / 442.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1394, allocations: 71.73 kB / 442.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1397, allocations: 79.7 kB / 442.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1398, allocations: 63.89 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1399, allocations: 19.98 kB / 442.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.14, allocations: 27.91 kB / 442.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.1401, allocations: 47.83 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1401, allocations: 4 kB / 442.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.1402, allocations: 31.97 kB / 442.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.1402, allocations: 19.92 kB / 442.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1403, allocations: 31.69 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1404, allocations: 91.7 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1404, allocations: 4 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1404, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1404, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.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.0003948/0.1408, allocations: 403 kB / 443.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1409, allocations: 15.89 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.43e-05/0.1409, allocations: 34.75 kB / 443.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.1409, allocations: 12.75 kB / 443.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1411, allocations: 198.2 kB / 443.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1411, allocations: 4.312 kB / 443.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1411, allocations: 4.375 kB / 443.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1413, allocations: 49.56 kB / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1413, allocations: 4 kB / 443.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1413, allocations: 4 kB / 443.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1413, allocations: 4 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.1414, allocations: 23.97 kB / 443.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.1416, allocations: 276.9 kB / 444.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1418, allocations: 50.5 kB / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.1419, allocations: 16.94 kB / 444.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.1419, allocations: 7.984 kB / 444.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.1419, allocations: 30.56 kB / 444.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1419, allocations: 0 / 444.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004778/0.1424, allocations: 145.1 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.1424, allocations: 55.41 kB / 444.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1426, allocations: 223.6 kB / 444.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.1426, allocations: 25.7 kB / 444.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.1427, allocations: 104 kB / 444.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1427, allocations: 23.73 kB / 444.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1427, allocations: 13.72 kB / 444.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.1428, allocations: 330.8 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.1428, allocations: 19.98 kB / 445.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.1429, allocations: 15.98 kB / 445.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.143, allocations: 48.77 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.143, allocations: 0 / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001474/0.1432, allocations: 81.58 kB / 445.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1432, allocations: 4 kB / 445.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1432, allocations: 288 / 445.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1432, allocations: 4 kB / 445.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.365e-05/0.1433, allocations: 15.98 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1433, allocations: 0 / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.1433, allocations: 4 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1433, allocations: 3.938 kB / 445.3 MB, free: 1.883 MB / 318.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 6.481e-05/0.1434, allocations: 133.8 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1435, allocations: 15.8 kB / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.1437, allocations: 106.8 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1437, allocations: 64 / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1437, allocations: 4 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1437, allocations: 3.984 kB / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.144, allocations: 350.5 kB / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.144, allocations: 0 / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.1441, allocations: 15.98 kB / 445.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1441, allocations: 4 kB / 445.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1441, allocations: 4 kB / 445.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1441, allocations: 3.938 kB / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1441, allocations: 0 / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1443, allocations: 179.4 kB / 446.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.1443, allocations: 84.92 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1444, allocations: 8 kB / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.1444, allocations: 3.938 kB / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1445, allocations: 11.92 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1445, allocations: 0 / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.413e-05/0.1446, allocations: 172.2 kB / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1449, allocations: 16 kB / 446.4 MB, free: 0.6875 MB / 318.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.001166/0.146, allocations: 1.009 MB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1462, allocations: 47.91 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1463, allocations: 0 / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.1463, allocations: 23.98 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1467, allocations: 25.95 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1483, allocations: 1.585 MB / 449 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1486, allocations: 0.7117 MB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.652e-05/0.1487, allocations: 7.984 kB / 449.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.1487, allocations: 31.42 kB / 449.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1487, allocations: 0 / 449.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1681, allocations: 2.737 MB / 452.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.328, allocations: 7.984 kB / 452.5 MB, free: 10.44 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches