Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.0009955/0.0009955, allocations: 107 kB / 17.33 MB, free: 6 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.0009903/0.0009903, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.499/1.499, allocations: 222.9 MB / 241.9 MB, free: 13.66 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.2334/0.2334, allocations: 44.17 MB / 336.3 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 69.38 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1529, allocations: 60.82 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003986/0.1569, allocations: 1.618 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.1579, allocations: 395.3 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.158, allocations: 4 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.1583, allocations: 23.92 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1587, allocations: 31.91 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1591, allocations: 79.59 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.1593, allocations: 55.78 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1594, allocations: 12 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.027e-05/0.1595, allocations: 23.92 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.1596, allocations: 23.84 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1596, allocations: 4 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1597, allocations: 31.94 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.1598, allocations: 15.92 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.1598, allocations: 15.88 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1601, allocations: 72.06 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1601, allocations: 0 / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1601, allocations: 0 / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1601, allocations: 0 / 471.2 MB, free: 12.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005673/0.1607, allocations: 375.3 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1607, allocations: 8.031 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.1608, allocations: 34.69 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.1608, allocations: 8.844 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.161, allocations: 199.3 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.161, allocations: 4.312 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1611, allocations: 8.375 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1612, allocations: 45.62 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1613, allocations: 0 / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1613, allocations: 4 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1613, allocations: 4 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.1614, allocations: 19.98 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1618, allocations: 268.9 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.162, allocations: 46.5 kB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.1621, allocations: 20.94 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1621, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1622, allocations: 34.56 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1622, allocations: 0 / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006152/0.1628, allocations: 141.2 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1628, allocations: 55.41 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.163, allocations: 138.1 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.163, allocations: 29.7 kB / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.1631, allocations: 92.12 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1631, allocations: 23.73 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.1632, allocations: 13.72 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1633, allocations: 322.8 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.1634, allocations: 19.98 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.1634, allocations: 23.98 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1636, allocations: 48.77 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1636, allocations: 0 / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001808/0.1638, allocations: 77.58 kB / 473.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1638, allocations: 4 kB / 473.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1638, allocations: 4 kB / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1638, allocations: 0 / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.1639, allocations: 15.98 kB / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1639, allocations: 0 / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.164, allocations: 4.281 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.164, allocations: 3.938 kB / 473.3 MB, free: 9.891 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 (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.0001349/0.1641, allocations: 121.8 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.1642, allocations: 11.84 kB / 473.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.1644, allocations: 97.95 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1644, allocations: 0 / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1645, allocations: 0 / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1645, allocations: 0 / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.1649, allocations: 346.7 kB / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1649, allocations: 0 / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.165, allocations: 20.05 kB / 473.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.165, allocations: 0 / 473.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.165, allocations: 4 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.165, allocations: 3.938 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.165, allocations: 0 / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1653, allocations: 171.4 kB / 474 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1653, allocations: 88.94 kB / 474.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1654, allocations: 8 kB / 474.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.1654, allocations: 7.938 kB / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1655, allocations: 7.984 kB / 474.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1655, allocations: 0 / 474.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.512e-05/0.1656, allocations: 107.3 kB / 474.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1656, allocations: 0 / 474.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1659, allocations: 20 kB / 474.3 MB, free: 8.789 MB / 350.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.001469/0.1674, allocations: 1.007 MB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1676, allocations: 51.91 kB / 475.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1676, allocations: 0 / 475.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.1677, allocations: 23.98 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1681, allocations: 19.92 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1698, allocations: 1.416 MB / 476.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1701, allocations: 0.6885 MB / 477.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.157e-05/0.1702, allocations: 12.22 kB / 477.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.1702, allocations: 23.42 kB / 477.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1702, allocations: 0 / 477.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.1842, allocations: 2.27 MB / 479.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.1844, allocations: 240.7 kB / 480 MB, free: 3.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.056, allocations: 0 / 480 MB, free: 3.133 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches