Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001074/0.001074, 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.0009914/0.0009914, allocations: 170.3 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.8858/0.8858, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2358/0.2358, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.344e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.1654/0.1654, allocations: 1.648 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007957/0.1662, allocations: 0.5345 MB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1662, allocations: 0 / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.1665, allocations: 96.09 kB / 444.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.1667, allocations: 118.7 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1669, allocations: 97.83 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.167, allocations: 99.8 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.1671, allocations: 15.86 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.1671, allocations: 51.98 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.1672, allocations: 60.98 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1672, allocations: 5.594 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.1673, allocations: 51.25 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.1673, allocations: 28.67 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.1674, allocations: 22.38 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1675, allocations: 126.3 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1675, allocations: 0 / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1675, allocations: 3.25 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1675, allocations: 0 / 445.1 MB, free: 43.09 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003202/0.1678, allocations: 356.7 kB / 445.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1679, allocations: 9.219 kB / 445.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.246e-05/0.1679, allocations: 41.06 kB / 445.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.1679, allocations: 14.44 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1681, allocations: 157.9 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1681, allocations: 3.094 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1681, allocations: 2.969 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1682, allocations: 72 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1682, allocations: 3.375 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1682, allocations: 7.875 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1682, allocations: 2.875 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.775e-05/0.1683, allocations: 41.86 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.1685, allocations: 290.6 kB / 446.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.1686, allocations: 58.62 kB / 446.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.1687, allocations: 20.7 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1687, allocations: 3.344 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.1687, allocations: 39.02 kB / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.1687, allocations: 0 / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005978/0.1693, allocations: 309.8 kB / 446.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.1693, allocations: 53.94 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1694, allocations: 239.3 kB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.1694, allocations: 29.28 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.1695, allocations: 120.1 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1695, allocations: 53.52 kB / 447 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.1695, allocations: 24.38 kB / 447 MB, free: 41.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.709e-05/0.1695, allocations: 328.1 kB / 447.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.1696, allocations: 34.91 kB / 447.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.1696, allocations: 35.08 kB / 447.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.74e-05/0.1697, allocations: 94.62 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1697, allocations: 0 / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001233/0.1698, allocations: 142.7 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.1699, allocations: 5.406 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.1699, allocations: 0 / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1699, allocations: 2.875 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.1699, allocations: 25.25 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1699, allocations: 6.531 kB / 447.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.17, allocations: 2.5 kB / 447.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.17, allocations: 6.594 kB / 447.7 MB, free: 41.45 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 (13): * Single equations (assignments): 13 * 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 4.908e-05/0.17, allocations: 134.5 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.17, allocations: 19.81 kB / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.1702, allocations: 163 kB / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1702, allocations: 2.562 kB / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1702, allocations: 0 / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1702, allocations: 3.938 kB / 448 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.1705, allocations: 436.9 kB / 448.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1705, allocations: 10.06 kB / 448.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.1706, allocations: 27.19 kB / 448.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1706, allocations: 0 / 448.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1706, allocations: 10.17 kB / 448.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1706, allocations: 0 / 448.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1706, allocations: 2.906 kB / 448.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.1707, allocations: 241.9 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.1707, allocations: 18.75 kB / 448.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1707, allocations: 2.875 kB / 448.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.1708, allocations: 10.17 kB / 448.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.1708, allocations: 10.14 kB / 448.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.1708, allocations: 5.844 kB / 448.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.644e-05/0.1709, allocations: 186.7 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1709, allocations: 1.031 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.171, allocations: 22.94 kB / 449 MB, free: 40.62 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 (13): * Single equations (assignments): 13 * 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.0008608/0.1719, allocations: 1.163 MB / 450.2 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.172, allocations: 97.41 kB / 450.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.172, allocations: 0 / 450.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.1721, allocations: 49.52 kB / 450.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1723, allocations: 29.02 kB / 450.3 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1734, allocations: 1.853 MB / 452.2 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.1735, allocations: 112 kB / 452.3 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.1735, allocations: 23.06 kB / 452.3 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.1735, allocations: 43.27 kB / 452.4 MB, free: 38.26 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1735, allocations: 0 / 452.4 MB, free: 38.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.1878, allocations: 4.229 MB / 456.6 MB, free: 36.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.981, allocations: 7.656 kB / 456.6 MB, free: 36.86 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.914315308444202]