Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001667/0.001667, allocations: 107 kB / 17.33 MB, free: 6.023 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.001273/0.001273, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.398/1.398, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.228/0.228, allocations: 44.17 MB / 336.2 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 61.31 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1463, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003867/0.1502, allocations: 1.614 MB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.1511, allocations: 407.3 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.1513, allocations: 0 / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1515, allocations: 23.91 kB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1518, allocations: 35.86 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.1522, allocations: 94.83 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1524, allocations: 51.84 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1525, allocations: 23.97 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.356e-05/0.1526, allocations: 19.86 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.1527, allocations: 19.88 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1527, allocations: 0 / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1528, allocations: 31.98 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.1529, allocations: 15.91 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.1529, allocations: 19.88 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1531, allocations: 72.08 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1531, allocations: 4 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1531, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1531, allocations: 4 kB / 471.2 MB, free: 12.2 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.0005334/0.1537, allocations: 371.2 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.1537, allocations: 12.03 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.1538, allocations: 30.75 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.1538, allocations: 8.844 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1541, allocations: 190.7 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1541, allocations: 384 / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1541, allocations: 12.31 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1543, allocations: 53.61 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1543, allocations: 0 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1543, allocations: 0 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1543, allocations: 4 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1544, allocations: 23.92 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.1549, allocations: 288.9 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1551, allocations: 42.55 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.1552, allocations: 16.86 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1552, allocations: 4.078 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1553, allocations: 34.5 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1553, allocations: 0 / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005797/0.1558, allocations: 149.3 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1559, allocations: 55.34 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.156, allocations: 146.1 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1561, allocations: 25.7 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.1561, allocations: 92.08 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.1562, allocations: 15.75 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1562, allocations: 25.7 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1563, allocations: 322.8 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.1564, allocations: 23.97 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.1565, allocations: 20.17 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1566, allocations: 52.83 kB / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1566, allocations: 0 / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001855/0.1568, allocations: 89.58 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1568, allocations: 7.984 kB / 473.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1568, allocations: 3.938 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1569, allocations: 0 / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.1569, allocations: 8 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1569, allocations: 4 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.157, allocations: 3.984 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.157, allocations: 7.938 kB / 473.3 MB, free: 9.859 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 9.119e-05/0.1571, allocations: 117.8 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.1571, allocations: 7.906 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.1574, allocations: 97.94 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1574, allocations: 7.938 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1574, allocations: 3.938 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1574, allocations: 0 / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.1579, allocations: 354.5 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1579, allocations: 0 / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.158, allocations: 8 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.158, allocations: 0 / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.158, allocations: 192 / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.158, allocations: 11.94 kB / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.158, allocations: 3.984 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1583, allocations: 183.4 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.1583, allocations: 85.02 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1584, allocations: 3.984 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.1584, allocations: 7.938 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.1585, allocations: 0 / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.1585, allocations: 7.984 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1586, allocations: 110.6 kB / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1586, allocations: 0 / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1589, allocations: 12 kB / 474.3 MB, free: 8.754 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.001579/0.1605, allocations: 1.016 MB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.1607, allocations: 55.95 kB / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1607, allocations: 0 / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.1608, allocations: 31.92 kB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.1613, allocations: 23.16 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1632, allocations: 1.439 MB / 476.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1636, allocations: 0.6924 MB / 477.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.1637, allocations: 7.984 kB / 477.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.1637, allocations: 27.42 kB / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1637, allocations: 3.938 kB / 477.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.1774, allocations: 2.306 MB / 479.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.1776, allocations: 234.4 kB / 480.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.152, allocations: 0 / 480.2 MB, free: 3.012 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches