Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008637/0.0008637, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8785/0.8785, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 34.24 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.438e-05, allocations: 4.25 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001795/0.00181, allocations: 1.604 MB / 443.8 MB, free: 20 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1559/0.1577, allocations: 0.5466 MB / 444.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.1577, allocations: 0 / 444.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1581, allocations: 454.6 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1584, allocations: 298 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1587, allocations: 174.2 kB / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1589, allocations: 176.9 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.159, allocations: 10.12 kB / 445.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1591, allocations: 118.2 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1592, allocations: 243 kB / 445.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1593, allocations: 2.906 kB / 445.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.1593, allocations: 29.56 kB / 445.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.1594, allocations: 82.73 kB / 445.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.1594, allocations: 36.69 kB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1596, allocations: 234 kB / 446.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1596, allocations: 3.938 kB / 446.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1596, allocations: 0 / 446.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1596, allocations: 0 / 446.2 MB, free: 43.02 MB / 410.7 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.0004824/0.1601, allocations: 0.5764 MB / 446.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1602, allocations: 10.16 kB / 446.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.1602, allocations: 33.81 kB / 446.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.1602, allocations: 52.38 kB / 446.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1604, allocations: 245.8 kB / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.1604, allocations: 384 / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.1604, allocations: 3.281 kB / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.905e-05/0.1605, allocations: 55.75 kB / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1605, allocations: 192 / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1605, allocations: 3.938 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1605, allocations: 3.938 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.1606, allocations: 25.5 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.1608, allocations: 357 kB / 447.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.667e-05/0.1609, allocations: 30.2 kB / 447.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.1609, allocations: 17.86 kB / 447.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1609, allocations: 6.719 kB / 447.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.106e-05/0.161, allocations: 30.56 kB / 447.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.161, allocations: 6.219 kB / 447.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001702/0.1611, allocations: 110.2 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1612, allocations: 51.41 kB / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.1617, allocations: 0.8725 MB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.1617, allocations: 28.45 kB / 448.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.1618, allocations: 224.1 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1618, allocations: 10.77 kB / 448.9 MB, free: 41.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1618, allocations: 16.05 kB / 448.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.1619, allocations: 361.7 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.1619, allocations: 13.28 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.1619, allocations: 17.47 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.841e-05/0.1619, allocations: 33.89 kB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.162, allocations: 0 / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.166e-05/0.162, allocations: 94.95 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1621, allocations: 5.781 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1621, allocations: 0 / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1621, allocations: 4.094 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.1621, allocations: 2.719 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1621, allocations: 3 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.1622, allocations: 6.109 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1622, allocations: 0 / 449.4 MB, free: 41.09 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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.0001075/0.1623, allocations: 217.7 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1623, allocations: 47.22 kB / 449.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1625, allocations: 105.6 kB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1625, allocations: 2.844 kB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1625, allocations: 5.812 kB / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1625, allocations: 0 / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1626, allocations: 259.4 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1626, allocations: 0 / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.1626, allocations: 9.047 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1626, allocations: 0 / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.1626, allocations: 2.938 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1626, allocations: 0 / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1626, allocations: 1.062 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.86e-05/0.1627, allocations: 202 kB / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.1627, allocations: 38.75 kB / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1627, allocations: 0 / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.1628, allocations: 2.875 kB / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.1628, allocations: 0 / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1628, allocations: 0 / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003052/0.1631, allocations: 0.6624 MB / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1631, allocations: 0 / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.1633, allocations: 18.5 kB / 451 MB, free: 40.22 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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.0007238/0.164, allocations: 0.9939 MB / 452 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.499e-05/0.1641, allocations: 25.2 kB / 452 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1641, allocations: 2.594 kB / 452 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.1641, allocations: 17.42 kB / 452 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1644, allocations: 28.69 kB / 452.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.1662, allocations: 3.186 MB / 455.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.1663, allocations: 216.1 kB / 455.4 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.558e-05/0.1663, allocations: 13.12 kB / 455.5 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1664, allocations: 120.9 kB / 455.6 MB, free: 37.53 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1664, allocations: 0 / 455.6 MB, free: 37.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.182, allocations: 6.464 MB / 462 MB, free: 35.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.846, allocations: 11.7 kB / 462.1 MB, free: 35.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.732569837011397]