Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00161/0.00161, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 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.001933/0.001933, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 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 1.618/1.618, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.2291/0.2291, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.88 kB / 0.4916 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1247, allocations: 65.99 MB / 0.5561 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00301/0.1277, allocations: 1.616 MB / 0.5577 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1288, allocations: 0.5688 MB / 0.5582 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.1288, allocations: 0 / 0.5582 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1291, allocations: 19.86 kB / 0.5582 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1293, allocations: 83.61 kB / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1296, allocations: 111.7 kB / 0.5584 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1298, allocations: 71.77 kB / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.1299, allocations: 8 kB / 0.5585 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.1299, allocations: 27.91 kB / 0.5585 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.13, allocations: 35.84 kB / 0.5586 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.13, allocations: 7.938 kB / 0.5586 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1302, allocations: 103.9 kB / 0.5587 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.1303, allocations: 11.98 kB / 0.5587 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1303, allocations: 27.8 kB / 0.5587 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1306, allocations: 155.4 kB / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1306, allocations: 0 / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1306, allocations: 4 kB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1306, allocations: 0 / 0.5589 GB, free: 2.953 MB / 414.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.0005267/0.1311, allocations: 402.8 kB / 0.5592 GB, free: 2.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1311, allocations: 8.031 kB / 0.5592 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.692e-05/0.1311, allocations: 4.188 kB / 0.5592 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.1312, allocations: 30.75 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1312, allocations: 12.88 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1314, allocations: 194.1 kB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1315, allocations: 8.375 kB / 0.5595 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1315, allocations: 8.125 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1316, allocations: 59.34 kB / 0.5595 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1316, allocations: 0 / 0.5595 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1317, allocations: 7.984 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.1317, allocations: 3.938 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.1318, allocations: 27.97 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1322, allocations: 292.9 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1323, allocations: 50.5 kB / 0.5599 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.1324, allocations: 24.94 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1324, allocations: 0 / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1325, allocations: 34.56 kB / 0.56 GB, free: 1.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1325, allocations: 0 / 0.56 GB, free: 1.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006583/0.1331, allocations: 193.2 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.1332, allocations: 77.11 kB / 0.5602 GB, free: 1.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1334, allocations: 159.5 kB / 0.5604 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1334, allocations: 25.7 kB / 0.5604 GB, free: 1.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.1335, allocations: 96.14 kB / 0.5605 GB, free: 1.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1335, allocations: 27.78 kB / 0.5605 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1335, allocations: 21.72 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1337, allocations: 318.8 kB / 0.5608 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.1338, allocations: 23.98 kB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1339, allocations: 49.62 kB / 0.5609 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1341, allocations: 76.84 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1341, allocations: 0 / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002364/0.1343, allocations: 109.6 kB / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1343, allocations: 4 kB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1343, allocations: 0 / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1343, allocations: 0 / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1344, allocations: 23.92 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1344, allocations: 0 / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.1345, allocations: 15.92 kB / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1345, allocations: 0 / 0.5611 GB, free: 372 kB / 414.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 (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.75e-05/0.1346, allocations: 117.8 kB / 0.5612 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1346, allocations: 7.953 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.1349, allocations: 114.7 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1349, allocations: 0 / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1349, allocations: 0 / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.135, allocations: 19.92 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.1355, allocations: 390.4 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1355, allocations: 0 / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-05/0.1356, allocations: 23.86 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.1356, allocations: 3.938 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1356, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1356, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1356, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1359, allocations: 203.5 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1359, allocations: 89 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.136, allocations: 0 / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.136, allocations: 4 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1361, allocations: 3.984 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1361, allocations: 4 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1362, allocations: 123.2 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1362, allocations: 0 / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.1365, allocations: 35.88 kB / 0.5622 GB, free: 15.14 MB / 430.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 (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.002226/0.1387, allocations: 1.148 MB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1389, allocations: 67.89 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.139, allocations: 0 / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.139, allocations: 27.98 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1394, allocations: 26.16 kB / 0.5635 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.1417, allocations: 1.537 MB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.142, allocations: 0.704 MB / 0.5656 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.1421, allocations: 21.11 kB / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.1422, allocations: 35.41 kB / 0.5657 GB, free: 11.64 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1422, allocations: 0 / 0.5657 GB, free: 11.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.1608, allocations: 3.56 MB / 0.5692 GB, free: 8.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.712, allocations: 8.047 kB / 0.5692 GB, free: 8.086 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.984935873013455]