Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001741/0.001741, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.002091/0.002091, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 7.742 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.2237/0.2237, allocations: 46.95 MB / 361.6 MB, free: 3.914 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.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 71.89 kB / 0.4969 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3148, allocations: 66.09 MB / 0.5614 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003168/0.318, allocations: 1.647 MB / 0.5631 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.319, allocations: 0.7556 MB / 0.5638 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.319, allocations: 0 / 0.5638 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3192, allocations: 31.84 kB / 0.5638 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.3194, allocations: 43.83 kB / 0.5639 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.3194, allocations: 0 / 0.5639 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3196, allocations: 39.83 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.3196, allocations: 5.828 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.109e-05/0.3196, allocations: 7.938 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.3197, allocations: 19.91 kB / 0.5639 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.3197, allocations: 0 / 0.5639 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/0.3198, allocations: 12 kB / 0.5639 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.3198, allocations: 12.95 kB / 0.564 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.3198, allocations: 19.81 kB / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.32, allocations: 75.61 kB / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.32, allocations: 0 / 0.564 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.32, allocations: 3.938 kB / 0.5641 GB, free: 1.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.32, allocations: 4 kB / 0.5641 GB, free: 1.344 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.0003528/0.3203, allocations: 282 kB / 0.5643 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3204, allocations: 12.03 kB / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.085e-05/0.3204, allocations: 192 / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.3204, allocations: 42.73 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.3205, allocations: 8.891 kB / 0.5644 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3206, allocations: 122.4 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3206, allocations: 4.375 kB / 0.5645 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.3206, allocations: 4.375 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3208, allocations: 125.8 kB / 0.5646 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3208, allocations: 3.938 kB / 0.5646 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3208, allocations: 11.97 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.3209, allocations: 19.98 kB / 0.5647 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.3209, allocations: 47.84 kB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.3217, allocations: 0.8471 MB / 0.5655 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3218, allocations: 173.2 kB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.3218, allocations: 84.08 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.3219, allocations: 75.28 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.703e-05/0.3219, allocations: 113.8 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3219, allocations: 0 / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.089e-05/0.322, allocations: 37.61 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.3221, allocations: 134.6 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3223, allocations: 187.4 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3223, allocations: 25.7 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3224, allocations: 155.5 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-06/0.3224, allocations: 4 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/0.3225, allocations: 41.66 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3226, allocations: 318.8 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.417e-05/0.3227, allocations: 35.97 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3228, allocations: 153.2 kB / 0.567 GB, free: 14.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.3231, allocations: 204.8 kB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3231, allocations: 4 kB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003278/0.3234, allocations: 201.1 kB / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3234, allocations: 11.94 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3234, allocations: 4 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3235, allocations: 4 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3236, allocations: 35.92 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.3236, allocations: 16.52 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.3237, allocations: 23.83 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3237, allocations: 12 kB / 0.5675 GB, free: 13.45 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.0001528/0.3239, allocations: 217 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.3239, allocations: 112.9 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.324, allocations: 120.5 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-05/0.3241, allocations: 184.2 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/0.3242, allocations: 184.3 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.473e-05/0.3243, allocations: 180.3 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.3246, allocations: 400.2 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/0.3246, allocations: 108.9 kB / 0.5689 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.3247, allocations: 105 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.34e-05/0.3247, allocations: 184.2 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.3248, allocations: 180.3 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.513e-05/0.3249, allocations: 180.2 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.428e-05/0.325, allocations: 184.2 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3252, allocations: 319.6 kB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.3252, allocations: 108.9 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3253, allocations: 184.2 kB / 0.5703 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.3254, allocations: 108.9 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.3255, allocations: 176.3 kB / 0.5706 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.3255, allocations: 108.9 kB / 0.5707 GB, free: 9.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3256, allocations: 131.2 kB / 0.5708 GB, free: 9.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3256, allocations: 0 / 0.5708 GB, free: 9.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3259, allocations: 16 kB / 0.5708 GB, free: 9.832 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.001119/0.3271, allocations: 0.908 MB / 0.5717 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.3272, allocations: 76.53 kB / 0.5718 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3272, allocations: 448 / 0.5718 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3272, allocations: 8 kB / 0.5718 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3276, allocations: 463.6 kB / 0.5722 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3295, allocations: 1.88 MB / 0.5741 GB, free: 6.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.903e-05/0.3296, allocations: 91.5 kB / 0.5742 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.3298, allocations: 49.02 kB / 0.5742 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.3298, allocations: 27.38 kB / 0.5742 GB, free: 6.141 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3298, allocations: 0 / 0.5742 GB, free: 6.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.3533, allocations: 2.357 MB / 0.5765 GB, free: 3.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.07, allocations: 3 kB / 0.5765 GB, free: 3.82 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.11220522900112]