Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001312/0.001312, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001598/0.001598, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2247/0.2247, allocations: 46.97 MB / 360.9 MB, free: 4.035 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.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 75.88 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3357, allocations: 66.04 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003568/0.3392, allocations: 1.65 MB / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3404, allocations: 0.7595 MB / 0.563 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.3404, allocations: 3.938 kB / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.3407, allocations: 27.91 kB / 0.563 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.3409, allocations: 43.83 kB / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.919e-06/0.3409, allocations: 0 / 0.563 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.341, allocations: 39.83 kB / 0.5631 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.3411, allocations: 1.828 kB / 0.5631 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.3411, allocations: 7.938 kB / 0.5631 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.3412, allocations: 19.91 kB / 0.5631 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3412, allocations: 4 kB / 0.5631 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.821e-05/0.3412, allocations: 8 kB / 0.5631 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.3413, allocations: 16.91 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.3413, allocations: 15.86 kB / 0.5631 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3415, allocations: 79.55 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3415, allocations: 0 / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3415, allocations: 0 / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3415, allocations: 0 / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003885/0.3419, allocations: 286 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3419, allocations: 12.03 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.3419, allocations: 38.75 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.342, allocations: 8.891 kB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.3421, allocations: 126.3 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3421, allocations: 8.359 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.3421, allocations: 384 / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3423, allocations: 123.3 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3424, allocations: 7.875 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3424, allocations: 0 / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.3424, allocations: 23.98 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.3425, allocations: 43.91 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.3432, allocations: 0.8508 MB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.3433, allocations: 173.1 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.3433, allocations: 84.08 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.3434, allocations: 79.31 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.3434, allocations: 109.8 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3434, allocations: 0 / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.666e-05/0.3435, allocations: 37.61 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.3436, allocations: 134.7 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.3438, allocations: 186.1 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3438, allocations: 25.7 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3439, allocations: 151.5 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/0.3439, allocations: 11.94 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.344, allocations: 41.67 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3441, allocations: 318.8 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.3442, allocations: 35.97 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.3443, allocations: 163.5 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3446, allocations: 200.9 kB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3446, allocations: 4 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003347/0.3449, allocations: 193.7 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3449, allocations: 8.031 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3449, allocations: 8 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3449, allocations: 4 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3451, allocations: 43.92 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.3451, allocations: 15.92 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.3452, allocations: 23.78 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3452, allocations: 12 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001438/0.3453, allocations: 213 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/0.3454, allocations: 112.9 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.3455, allocations: 116.6 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-05/0.3456, allocations: 188.2 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-05/0.3457, allocations: 180.4 kB / 0.5674 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/0.3458, allocations: 184.2 kB / 0.5676 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.346, allocations: 400.2 kB / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-05/0.3461, allocations: 105 kB / 0.5681 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.3461, allocations: 104.9 kB / 0.5682 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.991e-05/0.3462, allocations: 180.3 kB / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.3464, allocations: 192.1 kB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.311e-05/0.3464, allocations: 176.3 kB / 0.5687 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.937e-05/0.3465, allocations: 180.2 kB / 0.5689 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.3467, allocations: 323.6 kB / 0.5692 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.3468, allocations: 112.9 kB / 0.5693 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3469, allocations: 184.2 kB / 0.5695 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.347, allocations: 101 kB / 0.5696 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.3471, allocations: 180.2 kB / 0.5697 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.3471, allocations: 105 kB / 0.5698 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3473, allocations: 136 kB / 0.57 GB, free: 10.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3473, allocations: 0 / 0.57 GB, free: 10.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.3476, allocations: 15.94 kB / 0.57 GB, free: 10.06 MB / 414.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 (0): * Single equations (assignments): 0 * 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.001267/0.3488, allocations: 0.9271 MB / 0.5709 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.349, allocations: 71.78 kB / 0.571 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.349, allocations: 0 / 0.571 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.349, allocations: 0 / 0.571 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.3496, allocations: 463.6 kB / 0.5714 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.3521, allocations: 1.882 MB / 0.5732 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3522, allocations: 87.5 kB / 0.5733 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.3524, allocations: 49.02 kB / 0.5734 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.3525, allocations: 23.44 kB / 0.5734 GB, free: 6.375 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3525, allocations: 0 / 0.5734 GB, free: 6.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.3851, allocations: 2.621 MB / 0.576 GB, free: 3.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.27, allocations: 13.41 kB / 0.576 GB, free: 3.797 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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: 14.196153967175633]