Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",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.0008793/0.0008796, allocations: 97.48 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 178.2 kB / 16.92 MB, free: 6.668 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.831/1.831, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4025/0.4025, allocations: 43.57 MB / 315 MB, free: 8.828 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.000544/0.0005442, allocations: 20 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1356, allocations: 58.85 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.001906/0.1375, allocations: 1.279 MB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006268/0.1382, allocations: 311.6 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.1382, allocations: 3.938 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1384, allocations: 23.91 kB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.1386, allocations: 27.91 kB / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1389, allocations: 75.84 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.139, allocations: 51.91 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1392, allocations: 24.23 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.1392, allocations: 19.86 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.1393, allocations: 19.86 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1393, allocations: 4 kB / 445.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.1394, allocations: 24 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.1395, allocations: 15.91 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.1395, allocations: 41.58 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1397, allocations: 75.72 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1397, allocations: 4 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1397, allocations: 0 / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1397, allocations: 0 / 445.5 MB, free: 10.58 MB / 382.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.0004878/0.1402, allocations: 371.3 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1403, allocations: 12.03 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.1403, allocations: 30.75 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1404, allocations: 8.844 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1406, allocations: 192.1 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.1406, allocations: 4.375 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1406, allocations: 384 / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1408, allocations: 57.62 kB / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1408, allocations: 0 / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1408, allocations: 0 / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1408, allocations: 0 / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1409, allocations: 27.97 kB / 446.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1413, allocations: 288.8 kB / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.1416, allocations: 42.56 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.1416, allocations: 24.94 kB / 446.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1417, allocations: 4 kB / 446.6 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1417, allocations: 30.56 kB / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1417, allocations: 0 / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006243/0.1423, allocations: 173.2 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.1424, allocations: 51.41 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1426, allocations: 141.9 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1426, allocations: 25.7 kB / 447 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.1427, allocations: 100.1 kB / 447.1 MB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1427, allocations: 15.75 kB / 447.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.1427, allocations: 13.72 kB / 447.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1428, allocations: 334.7 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.1429, allocations: 23.98 kB / 447.5 MB, free: 8.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.143, allocations: 27.92 kB / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1432, allocations: 56.83 kB / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1432, allocations: 0 / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001937/0.1434, allocations: 93.81 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1434, allocations: 8 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1434, allocations: 0 / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1434, allocations: 4 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.1435, allocations: 23.92 kB / 447.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1435, allocations: 0 / 447.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.1436, allocations: 8 kB / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1436, allocations: 3.938 kB / 447.7 MB, free: 8.191 MB / 382.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.764e-05/0.1437, allocations: 121.8 kB / 447.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1437, allocations: 3.906 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.144, allocations: 106 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.144, allocations: 0 / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.144, allocations: 0 / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.144, allocations: 0 / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.1445, allocations: 362.4 kB / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1445, allocations: 0 / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.1446, allocations: 19.98 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1446, allocations: 0 / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1446, allocations: 0 / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1446, allocations: 3.938 kB / 448.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1446, allocations: 8.281 kB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1448, allocations: 187.4 kB / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.1449, allocations: 89 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1449, allocations: 4 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.145, allocations: 16.11 kB / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.145, allocations: 8 kB / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.145, allocations: 0 / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.287e-05/0.1451, allocations: 111.2 kB / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1451, allocations: 0 / 448.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1454, allocations: 16 kB / 448.7 MB, free: 7.051 MB / 382.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.001336/0.1467, allocations: 1.03 MB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1469, allocations: 55.97 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1469, allocations: 4 kB / 449.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.829e-05/0.147, allocations: 36.09 kB / 449.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1474, allocations: 11.94 kB / 449.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.149, allocations: 1.463 MB / 451.3 MB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1492, allocations: 0.6965 MB / 452 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.295e-05/0.1493, allocations: 8 kB / 452 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.1494, allocations: 23.42 kB / 452 MB, free: 3.629 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1494, allocations: 3.938 kB / 452 MB, free: 3.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.1622, allocations: 2.067 MB / 454.1 MB, free: 1.555 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.1625, allocations: 234.1 kB / 454.3 MB, free: 1.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.873, allocations: 0 / 454.3 MB, free: 1.297 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches