Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001502/0.001502, allocations: 114 kB / 20.43 MB, free: 1.457 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.001582/0.001582, allocations: 212.6 kB / 23.74 MB, free: 4.672 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.615/1.615, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.2496/0.2496, allocations: 46.93 MB / 360.8 MB, free: 4.168 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 83.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3677, allocations: 66.07 MB / 0.5608 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004389/0.3721, allocations: 1.668 MB / 0.5624 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3733, allocations: 0.5692 MB / 0.5629 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-05/0.3734, allocations: 0 / 0.5629 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.3741, allocations: 455.1 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005673/0.3747, allocations: 295.3 kB / 0.5637 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.3751, allocations: 130.4 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.3754, allocations: 167.6 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3755, allocations: 21.81 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3757, allocations: 107.7 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.376, allocations: 251.5 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3761, allocations: 4 kB / 0.5643 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3762, allocations: 31.94 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.3763, allocations: 83.69 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.3764, allocations: 111 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.3768, allocations: 262.6 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3769, allocations: 4 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3769, allocations: 3.938 kB / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3769, allocations: 0 / 0.5648 GB, free: 152 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.000971/0.3778, allocations: 0.5776 MB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.3779, allocations: 11.97 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.378, allocations: 42.73 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.378, allocations: 48.59 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.3784, allocations: 246.8 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3785, allocations: 4.375 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3785, allocations: 4.375 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3787, allocations: 50.25 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3787, allocations: 3.938 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3787, allocations: 0 / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3787, allocations: 4 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3788, allocations: 27.91 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.3794, allocations: 363.7 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.3797, allocations: 42.56 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.3797, allocations: 20.94 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3798, allocations: 3.938 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3798, allocations: 30.56 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3798, allocations: 0 / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007925/0.3806, allocations: 232.7 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.3806, allocations: 55.39 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3817, allocations: 0.8738 MB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.3817, allocations: 25.7 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.382, allocations: 228 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.382, allocations: 19.83 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.3821, allocations: 17.72 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.3823, allocations: 366.7 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/0.3824, allocations: 15.98 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.3825, allocations: 27.91 kB / 0.568 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3826, allocations: 45.03 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3826, allocations: 0 / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002738/0.3829, allocations: 133.3 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3829, allocations: 6.188 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3829, allocations: 0 / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3829, allocations: 0 / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.383, allocations: 12 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.383, allocations: 3.984 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.3831, allocations: 4 kB / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3831, allocations: 0 / 0.5682 GB, free: 12.44 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.0002526/0.3833, allocations: 223 kB / 0.5684 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.3834, allocations: 43.72 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.3837, allocations: 137.3 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3837, allocations: 0 / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3837, allocations: 0 / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.3837, allocations: 3.984 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.3844, allocations: 433.5 kB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3844, allocations: 4 kB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.3844, allocations: 11.98 kB / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3844, allocations: 0 / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3845, allocations: 0 / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.3845, allocations: 7.875 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3845, allocations: 4.188 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.3848, allocations: 223.2 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.3848, allocations: 36 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.3849, allocations: 0 / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.385, allocations: 11.92 kB / 0.5693 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.385, allocations: 7.984 kB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.385, allocations: 0 / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007006/0.3857, allocations: 0.6589 MB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3857, allocations: 0 / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.386, allocations: 27.94 kB / 0.57 GB, free: 10.55 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.002078/0.3881, allocations: 1.054 MB / 0.571 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.3883, allocations: 43.97 kB / 0.571 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3883, allocations: 4 kB / 0.571 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.3884, allocations: 27.92 kB / 0.5711 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.3888, allocations: 26.23 kB / 0.5711 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.3929, allocations: 3.24 MB / 0.5743 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.3935, allocations: 0.8221 MB / 0.5751 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.478e-05/0.3935, allocations: 19.97 kB / 0.5751 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.3937, allocations: 99.41 kB / 0.5752 GB, free: 5.207 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3937, allocations: 0 / 0.5752 GB, free: 5.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.4306, allocations: 6.229 MB / 0.5813 GB, free: 15.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.02, allocations: 0 / 0.5813 GB, free: 15.01 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.317836993839592]