Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001366/0.001366, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001469/0.001469, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2602/0.2602, allocations: 46.94 MB / 360.9 MB, free: 4.355 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.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.91 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 66.04 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003213/0.3462, allocations: 1.671 MB / 0.5623 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3472, allocations: 0.7633 MB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.3472, allocations: 0 / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.3475, allocations: 39.83 kB / 0.5631 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3477, allocations: 36.86 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.3477, allocations: 0 / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3479, allocations: 35.84 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.3479, allocations: 9.812 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.3479, allocations: 7.938 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.348, allocations: 15.92 kB / 0.5632 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.348, allocations: 0 / 0.5632 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.948e-05/0.3481, allocations: 15.98 kB / 0.5632 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.3481, allocations: 15.94 kB / 0.5632 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.3481, allocations: 19.81 kB / 0.5632 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3483, allocations: 75.55 kB / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3483, allocations: 0 / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3483, allocations: 4 kB / 0.5633 GB, free: 1.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3483, allocations: 0 / 0.5633 GB, free: 1.742 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.0003926/0.3487, allocations: 290 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3487, allocations: 8.031 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.3488, allocations: 42.73 kB / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.3488, allocations: 12.83 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.349, allocations: 126.4 kB / 0.5638 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.349, allocations: 384 / 0.5638 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.349, allocations: 4.375 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3492, allocations: 115.4 kB / 0.5639 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3492, allocations: 7.875 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3492, allocations: 3.984 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.3492, allocations: 27.98 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.3493, allocations: 47.89 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.35, allocations: 0.8586 MB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3501, allocations: 165.1 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.3502, allocations: 88.11 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.3502, allocations: 75.28 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.275e-05/0.3503, allocations: 113.8 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3503, allocations: 0 / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.679e-05/0.3504, allocations: 41.59 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.3504, allocations: 126.7 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3506, allocations: 186.1 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3507, allocations: 25.7 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3508, allocations: 155.5 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.3508, allocations: 3.984 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.3508, allocations: 45.67 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.351, allocations: 322.8 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.351, allocations: 31.92 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.3512, allocations: 157.2 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.3514, allocations: 200.9 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3514, allocations: 4 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003198/0.3517, allocations: 205.5 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3518, allocations: 12.12 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3518, allocations: 4 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3518, allocations: 8 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3519, allocations: 35.92 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.3519, allocations: 15.92 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.352, allocations: 23.83 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.352, allocations: 8 kB / 0.5668 GB, free: 13.84 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.0001478/0.3522, allocations: 213 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.3523, allocations: 120.9 kB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.385e-05/0.3523, allocations: 116.6 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-05/0.3524, allocations: 180.2 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.349e-05/0.3525, allocations: 184.3 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.414e-05/0.3526, allocations: 184.2 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.3529, allocations: 400.2 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.037e-05/0.3529, allocations: 109 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.353, allocations: 104.9 kB / 0.5683 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.83e-05/0.3531, allocations: 180.3 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.881e-05/0.3531, allocations: 180.2 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.493e-05/0.3532, allocations: 184.3 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.708e-05/0.3533, allocations: 184.2 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.3535, allocations: 315.7 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.3536, allocations: 112.9 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.3537, allocations: 180.3 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3538, allocations: 112.9 kB / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3539, allocations: 176.3 kB / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.3539, allocations: 101 kB / 0.5699 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.3541, allocations: 136.1 kB / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3541, allocations: 3.938 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.3544, allocations: 12 kB / 0.5701 GB, free: 10.22 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.0009849/0.3554, allocations: 0.9125 MB / 0.571 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3555, allocations: 72.78 kB / 0.5711 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3556, allocations: 0 / 0.5711 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3556, allocations: 4.25 kB / 0.5711 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3559, allocations: 459.7 kB / 0.5715 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3578, allocations: 1.889 MB / 0.5733 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3581, allocations: 0.6967 MB / 0.574 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.3583, allocations: 45.03 kB / 0.5741 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.3584, allocations: 35.36 kB / 0.5741 GB, free: 5.918 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3584, allocations: 7.938 kB / 0.5741 GB, free: 5.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.3908, allocations: 2.364 MB / 0.5764 GB, free: 3.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.49, allocations: 3.938 kB / 0.5764 GB, free: 3.605 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.440402082167566]