Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00152/0.00152, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 230.5 MB / 254.7 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.91 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 80.2 kB / 0.4917 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1253, allocations: 66.06 MB / 0.5562 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003159/0.1284, allocations: 1.607 MB / 0.5578 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1295, allocations: 0.5683 MB / 0.5583 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.1296, allocations: 0 / 0.5583 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.1298, allocations: 23.86 kB / 0.5583 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.1301, allocations: 83.61 kB / 0.5584 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1305, allocations: 103.7 kB / 0.5585 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1306, allocations: 79.77 kB / 0.5586 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.1307, allocations: 11.98 kB / 0.5586 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.1308, allocations: 27.92 kB / 0.5586 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.1309, allocations: 27.84 kB / 0.5586 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1309, allocations: 4 kB / 0.5587 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.1311, allocations: 111.8 kB / 0.5588 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.1312, allocations: 7.984 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.1312, allocations: 31.8 kB / 0.5588 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1315, allocations: 147.5 kB / 0.5589 GB, free: 2.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1315, allocations: 3.938 kB / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1315, allocations: 0 / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1315, allocations: 0 / 0.5589 GB, free: 2.629 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.0005841/0.1321, allocations: 410.8 kB / 0.5593 GB, free: 2.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1321, allocations: 8.031 kB / 0.5593 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.539e-05/0.1321, allocations: 4.188 kB / 0.5593 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.1322, allocations: 34.73 kB / 0.5594 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.1322, allocations: 12.89 kB / 0.5594 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1325, allocations: 192.3 kB / 0.5596 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-06/0.1325, allocations: 4.312 kB / 0.5596 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1325, allocations: 4.375 kB / 0.5596 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1326, allocations: 71.66 kB / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1327, allocations: 0 / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1327, allocations: 0 / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1327, allocations: 4 kB / 0.5597 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.1328, allocations: 27.91 kB / 0.5597 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.1332, allocations: 300.9 kB / 0.56 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1334, allocations: 50.5 kB / 0.56 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.1334, allocations: 20.94 kB / 0.56 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1334, allocations: 0 / 0.56 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1335, allocations: 34.56 kB / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1335, allocations: 0 / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000681/0.1341, allocations: 185.3 kB / 0.5602 GB, free: 1.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1342, allocations: 77.11 kB / 0.5603 GB, free: 1.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1344, allocations: 159.4 kB / 0.5605 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1344, allocations: 29.7 kB / 0.5605 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.1345, allocations: 88.14 kB / 0.5606 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1345, allocations: 23.78 kB / 0.5606 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1345, allocations: 25.72 kB / 0.5606 GB, free: 0.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1347, allocations: 326.8 kB / 0.5609 GB, free: 348 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.1348, allocations: 27.98 kB / 0.561 GB, free: 320 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1349, allocations: 53.69 kB / 0.561 GB, free: 260 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.135, allocations: 72.8 kB / 0.5611 GB, free: 184 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.135, allocations: 4.031 kB / 0.5611 GB, free: 180 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002291/0.1353, allocations: 101.6 kB / 0.5612 GB, free: 72 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1353, allocations: 8 kB / 0.5612 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1353, allocations: 0 / 0.5612 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1353, allocations: 0 / 0.5612 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1354, allocations: 15.98 kB / 0.5612 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1354, allocations: 3.938 kB / 0.5612 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1355, allocations: 7.984 kB / 0.5612 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1355, allocations: 8 kB / 0.5612 GB, free: 28 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 0.000108/0.1356, allocations: 121.8 kB / 0.5613 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1356, allocations: 7.953 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.1359, allocations: 110.4 kB / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1359, allocations: 0 / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1359, allocations: 3.984 kB / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1359, allocations: 288 / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.1364, allocations: 398.3 kB / 0.5618 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1364, allocations: 0 / 0.5618 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.96e-05/0.1365, allocations: 19.92 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1365, allocations: 15.86 kB / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1365, allocations: 7.938 kB / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1365, allocations: 4 kB / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1365, allocations: 0 / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1368, allocations: 199.8 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.1368, allocations: 85.06 kB / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1369, allocations: 3.938 kB / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.1369, allocations: 4 kB / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.137, allocations: 11.98 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.137, allocations: 0 / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1371, allocations: 117.1 kB / 0.5623 GB, free: 14.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1371, allocations: 4 kB / 0.5623 GB, free: 14.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.1374, allocations: 39.88 kB / 0.5623 GB, free: 14.79 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.002191/0.1396, allocations: 1.124 MB / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.1398, allocations: 71.89 kB / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1398, allocations: 0 / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.1399, allocations: 35.92 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1403, allocations: 16.3 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1421, allocations: 1.53 MB / 0.565 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1424, allocations: 0.7002 MB / 0.5657 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.592e-05/0.1425, allocations: 20.59 kB / 0.5657 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.1426, allocations: 35.41 kB / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1426, allocations: 0 / 0.5658 GB, free: 11.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.162, allocations: 3.566 MB / 0.5693 GB, free: 7.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.164, allocations: 7.156 kB / 0.5693 GB, free: 7.75 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.128731827018782]