Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001202/0.001202, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009058/0.0009058, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9418/0.9418, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.245/0.245, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.979e-05, allocations: 4.672 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002214/0.002234, allocations: 1.662 MB / 441.3 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.002944, allocations: 0.5685 MB / 441.8 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.003006, allocations: 7.938 kB / 441.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.003414, allocations: 451.1 kB / 442.3 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.003803, allocations: 299.2 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.004158, allocations: 176.1 kB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.004377, allocations: 183.6 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.004475, allocations: 16.23 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.004593, allocations: 123.8 kB / 443.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.004773, allocations: 251.5 kB / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.004788, allocations: 4 kB / 443.3 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.004879, allocations: 47.92 kB / 443.4 MB, free: 460 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.004963, allocations: 91.64 kB / 443.5 MB, free: 368 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.005004, allocations: 39.73 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.005234, allocations: 259 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005236, allocations: 7.938 kB / 443.8 MB, free: 60 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005237, allocations: 0 / 443.8 MB, free: 60 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005242, allocations: 0 / 443.8 MB, free: 60 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1622/0.1674, allocations: 0.5957 MB / 444.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1675, allocations: 8.438 kB / 444.4 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.1675, allocations: 32.88 kB / 444.4 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1675, allocations: 45.06 kB / 444.4 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1677, allocations: 252.3 kB / 444.7 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1677, allocations: 1.062 kB / 444.7 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1677, allocations: 4.688 kB / 444.7 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1678, allocations: 67.39 kB / 444.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1679, allocations: 0.75 kB / 444.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1679, allocations: 1.438 kB / 444.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1679, allocations: 3.938 kB / 444.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.1679, allocations: 37.81 kB / 444.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1683, allocations: 372.4 kB / 445.2 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.1683, allocations: 47.83 kB / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.1684, allocations: 20.55 kB / 445.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1684, allocations: 1.781 kB / 445.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.1684, allocations: 33.59 kB / 445.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1684, allocations: 0.7188 kB / 445.3 MB, free: 45.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.169, allocations: 331.9 kB / 445.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.169, allocations: 53.59 kB / 445.6 MB, free: 45.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.1694, allocations: 0.8749 MB / 446.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.1694, allocations: 25.7 kB / 446.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.1695, allocations: 232.7 kB / 446.8 MB, free: 45.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.1695, allocations: 25.55 kB / 446.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1696, allocations: 32.81 kB / 446.8 MB, free: 45.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.1696, allocations: 363.2 kB / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.1697, allocations: 39.97 kB / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.1697, allocations: 33.39 kB / 447.2 MB, free: 44.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.631e-05/0.1698, allocations: 75.88 kB / 447.3 MB, free: 44.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1698, allocations: 0 / 447.3 MB, free: 44.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001253/0.1699, allocations: 153.4 kB / 447.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1699, allocations: 8.844 kB / 447.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1699, allocations: 0 / 447.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1699, allocations: 0 / 447.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.17, allocations: 21.47 kB / 447.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.17, allocations: 0 / 447.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.17, allocations: 5.875 kB / 447.5 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1701, allocations: 6.594 kB / 447.5 MB, free: 44.73 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 (8): * Single equations (assignments): 8 * 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.921e-05/0.1702, allocations: 220.7 kB / 447.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1702, allocations: 44.75 kB / 447.8 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.1704, allocations: 172.6 kB / 447.9 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1704, allocations: 2.312 kB / 447.9 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1704, allocations: 0 / 447.9 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1704, allocations: 5.938 kB / 447.9 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.1707, allocations: 0.489 MB / 448.4 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1707, allocations: 0 / 448.4 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.1707, allocations: 17.45 kB / 448.5 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1707, allocations: 0 / 448.5 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1708, allocations: 6.938 kB / 448.5 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1708, allocations: 3.938 kB / 448.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1708, allocations: 6.406 kB / 448.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.1709, allocations: 242.5 kB / 448.7 MB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.1709, allocations: 42.95 kB / 448.8 MB, free: 43.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1709, allocations: 4.094 kB / 448.8 MB, free: 43.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/0.171, allocations: 10.28 kB / 448.8 MB, free: 43.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.171, allocations: 11.64 kB / 448.8 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.171, allocations: 2.75 kB / 448.8 MB, free: 43.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003127/0.1713, allocations: 0.6621 MB / 449.4 MB, free: 43.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1713, allocations: 0.6562 kB / 449.4 MB, free: 43.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.1715, allocations: 34.53 kB / 449.5 MB, free: 43.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008967/0.1724, allocations: 1.171 MB / 450.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.1725, allocations: 80.62 kB / 450.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1725, allocations: 0 / 450.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.1726, allocations: 40.73 kB / 450.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1729, allocations: 31.02 kB / 450.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1748, allocations: 3.4 MB / 454.2 MB, free: 41.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.1749, allocations: 227.7 kB / 454.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.1749, allocations: 24.89 kB / 454.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.1751, allocations: 119.4 kB / 454.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1751, allocations: 0 / 454.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.1925, allocations: 7.15 MB / 461.7 MB, free: 39.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.882, allocations: 6.344 kB / 461.7 MB, free: 39.11 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.918724782764912]