Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001421/0.001421, allocations: 116.7 kB / 20.44 MB, free: 1.324 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.001691/0.001691, allocations: 205.2 kB / 23.74 MB, free: 4.551 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.619/1.619, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.2501/0.2501, allocations: 46.93 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 71.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3651, allocations: 66.09 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004081/0.3691, allocations: 2.122 MB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.3715, allocations: 1.314 MB / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3716, allocations: 11.94 kB / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.3719, allocations: 51.52 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005171/0.3724, allocations: 211.1 kB / 0.5644 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3734, allocations: 459.1 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.3739, allocations: 338.9 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.3741, allocations: 44.91 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.3745, allocations: 155.3 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/0.3749, allocations: 215.2 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/0.375, allocations: 16 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.3752, allocations: 63.98 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.3754, allocations: 155.4 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.3757, allocations: 182.5 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007896/0.3765, allocations: 435.8 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3765, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3765, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3765, allocations: 0 / 0.5663 GB, free: 14.55 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001659/0.3781, allocations: 0.7795 MB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/0.3782, allocations: 12.03 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.735e-05/0.3783, allocations: 38.75 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000664/0.3789, allocations: 100.5 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.38, allocations: 431.1 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.38, allocations: 8.375 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.38, allocations: 16.38 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.3805, allocations: 143.3 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3805, allocations: 4 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3805, allocations: 0 / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.3805, allocations: 7.984 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.381, allocations: 103.9 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3824, allocations: 0.6596 MB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.3828, allocations: 117.4 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3831, allocations: 57.81 kB / 0.5687 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.3831, allocations: 7.922 kB / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.3832, allocations: 34.5 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.3832, allocations: 4 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.003011/0.3862, allocations: 0.7022 MB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.3863, allocations: 85.05 kB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.388, allocations: 0.9259 MB / 0.5705 GB, free: 10.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.388, allocations: 29.7 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.3884, allocations: 276.4 kB / 0.5707 GB, free: 9.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3885, allocations: 75.31 kB / 0.5708 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.3886, allocations: 37.7 kB / 0.5709 GB, free: 9.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3888, allocations: 318 kB / 0.5712 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.3893, allocations: 87.94 kB / 0.5712 GB, free: 9.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.3897, allocations: 108.4 kB / 0.5713 GB, free: 9.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.3905, allocations: 213.7 kB / 0.5715 GB, free: 8.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3905, allocations: 3.938 kB / 0.5716 GB, free: 8.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001125/0.3916, allocations: 305.1 kB / 0.5718 GB, free: 8.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.3916, allocations: 8 kB / 0.5718 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3916, allocations: 0 / 0.5718 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3917, allocations: 3.938 kB / 0.5719 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.3921, allocations: 55.94 kB / 0.5719 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3921, allocations: 0.75 kB / 0.5719 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.3925, allocations: 27.98 kB / 0.5719 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.3925, allocations: 7.984 kB / 0.5719 GB, free: 8.574 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0003808/0.3929, allocations: 219 kB / 0.5721 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3931, allocations: 63.58 kB / 0.5722 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.3943, allocations: 358.7 kB / 0.5726 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.3943, allocations: 0 / 0.5726 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3943, allocations: 7.984 kB / 0.5726 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3943, allocations: 3.984 kB / 0.5726 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.3966, allocations: 0.8713 MB / 0.5734 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.3966, allocations: 3.938 kB / 0.5734 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.3969, allocations: 51.95 kB / 0.5735 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.397, allocations: 0 / 0.5735 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.397, allocations: 8 kB / 0.5735 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.397, allocations: 3.938 kB / 0.5735 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.397, allocations: 7.922 kB / 0.5735 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3982, allocations: 478.3 kB / 0.5739 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.3984, allocations: 79.55 kB / 0.574 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.3985, allocations: 8 kB / 0.574 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.399, allocations: 19.98 kB / 0.574 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3991, allocations: 23.89 kB / 0.5741 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.3991, allocations: 8 kB / 0.5741 GB, free: 6.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001341/0.4004, allocations: 0.6751 MB / 0.5747 GB, free: 5.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4004, allocations: 0 / 0.5747 GB, free: 5.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007143/0.4011, allocations: 63.94 kB / 0.5748 GB, free: 5.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.004111/0.4053, allocations: 1.317 MB / 0.5761 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.4065, allocations: 207.8 kB / 0.5763 GB, free: 4.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4065, allocations: 0 / 0.5763 GB, free: 4.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.4071, allocations: 123.8 kB / 0.5764 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4083, allocations: 93.84 kB / 0.5765 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.4223, allocations: 5.309 MB / 0.5817 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009876/0.4233, allocations: 0.8811 MB / 0.5825 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004223/0.4237, allocations: 83.22 kB / 0.5826 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.4243, allocations: 191.4 kB / 0.5828 GB, free: 13.37 MB / 430.1 MB Notification: Performance of SimCode: time 1.693e-06/0.4243, allocations: 0 / 0.5828 GB, free: 13.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06255/0.4868, allocations: 10.68 MB / 0.5932 GB, free: 2.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.36, allocations: 8.047 kB / 0.5932 GB, free: 2.707 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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: 15.743684082990512]