Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001236/0.001236, allocations: 96.7 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.001413/0.001414, allocations: 176.9 kB / 16.92 MB, free: 6.672 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.449/1.449, allocations: 205.4 MB / 223.1 MB, free: 5.781 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.3507/0.3507, allocations: 43.57 MB / 315 MB, free: 8.742 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.0006041/0.0006042, allocations: 16 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1432, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002481/0.1457, allocations: 1.275 MB / 444.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009075/0.1466, allocations: 303.6 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.1468, allocations: 0 / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.1472, allocations: 75.84 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1475, allocations: 59.86 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1478, allocations: 59.86 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.1481, allocations: 55.89 kB / 445.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1483, allocations: 20.25 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1484, allocations: 31.8 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1485, allocations: 47.88 kB / 445.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1486, allocations: 4 kB / 445.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1487, allocations: 24 kB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.1488, allocations: 19.92 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.1489, allocations: 61.36 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1491, allocations: 87.66 kB / 445.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1491, allocations: 0 / 445.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1491, allocations: 0 / 445.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1491, allocations: 0 / 445.7 MB, free: 10.47 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.000658/0.1498, allocations: 395.1 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1499, allocations: 8.031 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.201e-05/0.1499, allocations: 38.75 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.15, allocations: 8.844 kB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1503, allocations: 192.1 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1503, allocations: 8.375 kB / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1503, allocations: 384 / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1505, allocations: 49.62 kB / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1505, allocations: 0 / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1505, allocations: 4 kB / 446.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1506, allocations: 0 / 446.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1507, allocations: 31.92 kB / 446.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.1511, allocations: 276.9 kB / 446.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.1514, allocations: 50.55 kB / 446.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.1515, allocations: 16.86 kB / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1515, allocations: 0 / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1515, allocations: 38.48 kB / 446.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1515, allocations: 0 / 446.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006323/0.1522, allocations: 161.3 kB / 446.9 MB, free: 9.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1522, allocations: 55.34 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1524, allocations: 210.2 kB / 447.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1525, allocations: 29.64 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1526, allocations: 100.1 kB / 447.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1526, allocations: 19.7 kB / 447.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.1527, allocations: 13.72 kB / 447.3 MB, free: 8.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1529, allocations: 322.8 kB / 447.6 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.153, allocations: 23.98 kB / 447.7 MB, free: 8.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.153, allocations: 27.98 kB / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1532, allocations: 44.84 kB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1532, allocations: 0 / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000205/0.1534, allocations: 97.5 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.1534, allocations: 4 kB / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1534, allocations: 0 / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1535, allocations: 4 kB / 447.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.1535, allocations: 16.23 kB / 447.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1536, allocations: 4 kB / 447.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.1536, allocations: 15.94 kB / 447.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1537, allocations: 11.86 kB / 447.9 MB, free: 8.004 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 0.0001262/0.1538, allocations: 125.8 kB / 448 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.1538, allocations: 7.906 kB / 448 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.1541, allocations: 101.9 kB / 448.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1541, allocations: 4 kB / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1541, allocations: 0 / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1542, allocations: 0 / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.1546, allocations: 358.5 kB / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1546, allocations: 0 / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.1547, allocations: 16 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1547, allocations: 0 / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1547, allocations: 3.984 kB / 448.5 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1547, allocations: 3.938 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1547, allocations: 4 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.155, allocations: 191.3 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.155, allocations: 85 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.155, allocations: 4 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.1551, allocations: 11.94 kB / 448.8 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1552, allocations: 3.984 kB / 448.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1552, allocations: 8.125 kB / 448.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1553, allocations: 164 kB / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1553, allocations: 4 kB / 449 MB, free: 6.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1556, allocations: 8 kB / 449 MB, free: 6.816 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.001524/0.1571, allocations: 1.027 MB / 450 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1573, allocations: 47.97 kB / 450 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1573, allocations: 0 / 450 MB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-05/0.1574, allocations: 35.92 kB / 450.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1578, allocations: 19.92 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1596, allocations: 1.581 MB / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1599, allocations: 0.7043 MB / 452.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.16, allocations: 8 kB / 452.4 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.1601, allocations: 27.42 kB / 452.4 MB, free: 3.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1601, allocations: 0 / 452.4 MB, free: 3.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.1727, allocations: 2.312 MB / 454.7 MB, free: 0.957 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.173, allocations: 240.5 kB / 455 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.052, allocations: 4 kB / 455 MB, free: 0.6914 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches