Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001428/0.001428, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001533/0.001533, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2424/0.2424, allocations: 46.93 MB / 361.6 MB, free: 4.262 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.91 kB / 0.4969 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3507, allocations: 66.03 MB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004024/0.3547, allocations: 2.048 MB / 0.5634 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.3569, allocations: 1.275 MB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.357, allocations: 4 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.3574, allocations: 47.58 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.3579, allocations: 211.1 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.359, allocations: 438.1 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.3595, allocations: 303 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3596, allocations: 48.89 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.3599, allocations: 143.4 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.3602, allocations: 191.2 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.3602, allocations: 12 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3604, allocations: 71.95 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.3606, allocations: 147.4 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3607, allocations: 170.6 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.3612, allocations: 404 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3612, allocations: 7.938 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3612, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3612, allocations: 0 / 0.5668 GB, free: 14.98 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.001085/0.3623, allocations: 0.7407 MB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3624, allocations: 12.03 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.003e-05/0.3624, allocations: 4.188 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3625, allocations: 38.69 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.3628, allocations: 92.48 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/0.3635, allocations: 410.4 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3635, allocations: 12.12 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.3636, allocations: 12 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3639, allocations: 134.9 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3639, allocations: 0 / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3639, allocations: 7.984 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3639, allocations: 4 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.3641, allocations: 75.95 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3652, allocations: 0.6479 MB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3654, allocations: 105.2 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3655, allocations: 49.7 kB / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3656, allocations: 7.969 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.3656, allocations: 38.5 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3656, allocations: 0 / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001516/0.3671, allocations: 0.5345 MB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.3672, allocations: 85.09 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.3684, allocations: 0.9181 MB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3684, allocations: 29.7 kB / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.3687, allocations: 264.4 kB / 0.5709 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.3688, allocations: 55.53 kB / 0.5709 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.3688, allocations: 37.69 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.369, allocations: 370.7 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3692, allocations: 56.17 kB / 0.5714 GB, free: 10.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3694, allocations: 77.67 kB / 0.5714 GB, free: 9.977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.3697, allocations: 133.5 kB / 0.5716 GB, free: 9.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.3697, allocations: 0 / 0.5716 GB, free: 9.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004811/0.3702, allocations: 233.3 kB / 0.5718 GB, free: 9.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3702, allocations: 8 kB / 0.5718 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3702, allocations: 4 kB / 0.5718 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3702, allocations: 0 / 0.5718 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3704, allocations: 39.91 kB / 0.5718 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3705, allocations: 4 kB / 0.5718 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3706, allocations: 19.92 kB / 0.5719 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3706, allocations: 4 kB / 0.5719 GB, free: 9.527 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 (16): * Single equations (assignments): 16 * 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.0002191/0.3708, allocations: 205.7 kB / 0.5721 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3709, allocations: 71.56 kB / 0.5721 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/0.3716, allocations: 259.2 kB / 0.5724 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3716, allocations: 4 kB / 0.5724 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3716, allocations: 0 / 0.5724 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3716, allocations: 0 / 0.5724 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3728, allocations: 0.7741 MB / 0.5731 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3728, allocations: 4 kB / 0.5731 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.373, allocations: 35.97 kB / 0.5732 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.373, allocations: 0 / 0.5732 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.373, allocations: 7.938 kB / 0.5732 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.373, allocations: 0 / 0.5732 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.373, allocations: 4 kB / 0.5732 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.3736, allocations: 405.2 kB / 0.5736 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.3737, allocations: 79.59 kB / 0.5736 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.3738, allocations: 7.938 kB / 0.5737 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.374, allocations: 19.98 kB / 0.5737 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.3741, allocations: 15.97 kB / 0.5737 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3741, allocations: 11.88 kB / 0.5737 GB, free: 7.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008587/0.3749, allocations: 0.6747 MB / 0.5744 GB, free: 6.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3749, allocations: 0 / 0.5744 GB, free: 6.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.3753, allocations: 48 kB / 0.5744 GB, free: 6.84 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 (16): * Single equations (assignments): 16 * 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.002387/0.3777, allocations: 1.24 MB / 0.5756 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000427/0.3781, allocations: 143.8 kB / 0.5758 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3781, allocations: 4 kB / 0.5758 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.3783, allocations: 71.89 kB / 0.5758 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.3789, allocations: 78.08 kB / 0.5759 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006647/0.3856, allocations: 5.06 MB / 0.5808 GB, free: 300 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.3861, allocations: 0.8651 MB / 0.5817 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.3863, allocations: 83.22 kB / 0.5818 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.3865, allocations: 175.3 kB / 0.5819 GB, free: 15.15 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3865, allocations: 0 / 0.5819 GB, free: 15.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.4177, allocations: 10.17 MB / 0.5919 GB, free: 5.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.35, allocations: 6.562 kB / 0.5919 GB, free: 5.062 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.76280854997458]