Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0009369/0.0009369, allocations: 79.7 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.000967/0.000967, 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.9036/0.9036, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2425/0.2425, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 3.938 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.187e-05, allocations: 6.281 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002306/0.002328, allocations: 1.597 MB / 441.2 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.003061, allocations: 0.5531 MB / 441.8 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.00312, allocations: 0 / 441.8 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.003341, allocations: 23.73 kB / 441.8 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.003598, allocations: 87.55 kB / 441.9 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.003853, allocations: 113.5 kB / 442 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003994, allocations: 75.77 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.004093, allocations: 11.97 kB / 442.1 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.651e-05/0.00415, allocations: 31.92 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.004223, allocations: 31.89 kB / 442.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.004239, allocations: 4 kB / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.004373, allocations: 87.88 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.00442, allocations: 15.94 kB / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.004448, allocations: 19.86 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.004662, allocations: 155.5 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.004666, allocations: 7.938 kB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.004667, allocations: 0 / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004672, allocations: 0 / 442.4 MB, free: 1.43 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.0004051/0.005077, allocations: 325.7 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.005111, allocations: 12.03 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.005138, allocations: 34.75 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.00517, allocations: 8.891 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.005317, allocations: 137.6 kB / 442.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.005324, allocations: 384 / 442.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.005342, allocations: 384 / 442.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.00547, allocations: 97.61 kB / 443 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.005478, allocations: 192 / 443 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.005488, allocations: 3.938 kB / 443 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.005492, allocations: 0 / 443 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.326e-05/0.005545, allocations: 27.97 kB / 443 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.005885, allocations: 256 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.13e-05/0.005967, allocations: 54.42 kB / 443.3 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.006006, allocations: 28.92 kB / 443.4 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.006026, allocations: 4 kB / 443.4 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.00605, allocations: 34.56 kB / 443.4 MB, free: 288 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.006051, allocations: 0 / 443.4 MB, free: 288 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004386/0.00649, allocations: 185.3 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.006531, allocations: 77.11 kB / 443.7 MB, free: 0 / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1785/0.1851, allocations: 150.7 kB / 443.8 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1851, allocations: 27.95 kB / 443.8 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.1851, allocations: 95.97 kB / 443.9 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1851, allocations: 22.91 kB / 444 MB, free: 46.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.1852, allocations: 23.59 kB / 444 MB, free: 46.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.1852, allocations: 325 kB / 444.3 MB, free: 45.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.1853, allocations: 29.98 kB / 444.3 MB, free: 45.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.1853, allocations: 72.88 kB / 444.4 MB, free: 45.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.1854, allocations: 73.5 kB / 444.5 MB, free: 45.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1854, allocations: 0 / 444.5 MB, free: 45.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001416/0.1856, allocations: 110.1 kB / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1856, allocations: 5.719 kB / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1856, allocations: 0 / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1856, allocations: 0 / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.1857, allocations: 20.08 kB / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1857, allocations: 0 / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.1857, allocations: 10.69 kB / 444.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.1857, allocations: 4.875 kB / 444.6 MB, free: 45.77 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 5.08e-05/0.1858, allocations: 118.5 kB / 444.7 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.1858, allocations: 15.33 kB / 444.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.186, allocations: 114.5 kB / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.186, allocations: 3.938 kB / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.186, allocations: 0 / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.186, allocations: 0 / 444.9 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.1863, allocations: 360.2 kB / 445.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1863, allocations: 0 / 445.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.1863, allocations: 19.81 kB / 445.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1863, allocations: 2.969 kB / 445.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1864, allocations: 1.531 kB / 445.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1864, allocations: 0 / 445.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1864, allocations: 0 / 445.2 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.1865, allocations: 203.1 kB / 445.4 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.1865, allocations: 9.938 kB / 445.4 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1865, allocations: 8.625 kB / 445.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.1865, allocations: 2.688 kB / 445.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.1866, allocations: 6.266 kB / 445.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1866, allocations: 6.406 kB / 445.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.1866, allocations: 116.3 kB / 445.6 MB, free: 45.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1866, allocations: 0 / 445.6 MB, free: 45.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000205/0.1868, allocations: 43.59 kB / 445.6 MB, free: 45.14 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 (7): * Single equations (assignments): 7 * 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.0009822/0.1878, allocations: 1.177 MB / 446.8 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.188, allocations: 68.02 kB / 446.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.188, allocations: 2.938 kB / 446.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.188, allocations: 29.89 kB / 446.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1883, allocations: 12.98 kB / 446.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/0.1892, allocations: 1.543 MB / 448.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.1892, allocations: 88.41 kB / 448.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.1893, allocations: 22.42 kB / 448.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.1893, allocations: 25.67 kB / 448.6 MB, free: 43.08 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1893, allocations: 0 / 448.6 MB, free: 43.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.2057, allocations: 4.288 MB / 452.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.964, allocations: 14.09 kB / 452.9 MB, free: 41.58 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.937214110046625]