Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001278/0.001278, allocations: 112.5 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.001369/0.001369, 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2428/0.2428, allocations: 46.94 MB / 361.7 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.497 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3671, allocations: 66.04 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003277/0.3704, allocations: 1.66 MB / 0.5631 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3714, allocations: 0.5776 MB / 0.5636 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.3715, allocations: 4 kB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.3721, allocations: 447.1 kB / 0.5641 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.3727, allocations: 299.3 kB / 0.5643 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.373, allocations: 127.1 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.3733, allocations: 175.6 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3734, allocations: 9.828 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3735, allocations: 119.6 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.3738, allocations: 243.5 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3739, allocations: 4 kB / 0.565 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.374, allocations: 39.97 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3741, allocations: 79.7 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3742, allocations: 106.9 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.3746, allocations: 270.6 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3746, allocations: 0 / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3746, allocations: 0 / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3746, allocations: 0 / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009187/0.3755, allocations: 0.5854 MB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.3756, allocations: 8.031 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.3756, allocations: 192 / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3756, allocations: 34.75 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.3757, allocations: 52.59 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.376, allocations: 250.7 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3761, allocations: 4.375 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.3761, allocations: 8.125 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3763, allocations: 49.67 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3763, allocations: 4 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3763, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3763, allocations: 4 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/0.3764, allocations: 19.98 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.377, allocations: 371.6 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.3772, allocations: 46.55 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.3773, allocations: 12.86 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3773, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3774, allocations: 30.56 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.3774, allocations: 4 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000682/0.378, allocations: 236.8 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3781, allocations: 51.41 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009838/0.3791, allocations: 0.8737 MB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3791, allocations: 29.7 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.3793, allocations: 228 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.3793, allocations: 23.77 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.3794, allocations: 21.66 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3796, allocations: 366.8 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.098e-05/0.3796, allocations: 11.98 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.3797, allocations: 20.17 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.3798, allocations: 52.83 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3798, allocations: 4 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002248/0.3801, allocations: 117.3 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3801, allocations: 4 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3801, allocations: 0 / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3801, allocations: 0 / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.3802, allocations: 19.92 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3802, allocations: 3.938 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.353e-05/0.3803, allocations: 8 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3803, allocations: 4 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.000281/0.3806, allocations: 209.8 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-05/0.3807, allocations: 47.72 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.381, allocations: 133.2 kB / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.381, allocations: 0 / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.381, allocations: 3.938 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.381, allocations: 0 / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.3816, allocations: 433.5 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3816, allocations: 0 / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.3817, allocations: 15.98 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3817, allocations: 3.938 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3817, allocations: 0 / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3817, allocations: 192 / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3817, allocations: 4 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.382, allocations: 223.1 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.3821, allocations: 36 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3821, allocations: 7.938 kB / 0.57 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.3822, allocations: 7.984 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.3822, allocations: 7.984 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3822, allocations: 3.984 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007518/0.383, allocations: 0.655 MB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.383, allocations: 4 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3833, allocations: 35.86 kB / 0.5707 GB, free: 10.73 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 (5): * Single equations (assignments): 5 * 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.00197/0.3852, allocations: 1.043 MB / 0.5717 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.3855, allocations: 47.97 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3855, allocations: 0 / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3856, allocations: 23.98 kB / 0.5718 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.3862, allocations: 32.58 kB / 0.5718 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.3904, allocations: 3.244 MB / 0.575 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3908, allocations: 0.8298 MB / 0.5758 GB, free: 5.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.747e-05/0.3909, allocations: 11.97 kB / 0.5758 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3911, allocations: 107.4 kB / 0.5759 GB, free: 5.41 MB / 414.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3911, allocations: 0 / 0.5759 GB, free: 5.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.419, allocations: 6.239 MB / 0.582 GB, free: 15.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.21, allocations: 13.61 kB / 0.582 GB, free: 15.25 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.388142958981916]