Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001369/0.001369, 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.001532/0.001532, allocations: 215.3 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.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.2403/0.2403, allocations: 46.93 MB / 360.8 MB, free: 4.293 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 79.86 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3795, allocations: 66.07 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003594/0.3831, allocations: 1.699 MB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3843, allocations: 0.5654 MB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.3844, allocations: 4 kB / 0.563 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.3851, allocations: 459.1 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.3857, allocations: 295.3 kB / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.3861, allocations: 126.8 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.3863, allocations: 175.6 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3865, allocations: 17.83 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3866, allocations: 119.6 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.3869, allocations: 251.5 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.387, allocations: 4 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3871, allocations: 47.98 kB / 0.5644 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3872, allocations: 87.67 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.3873, allocations: 110.9 kB / 0.5646 GB, free: 396 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.3877, allocations: 282.4 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3877, allocations: 0 / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3877, allocations: 4 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3877, allocations: 0 / 0.5649 GB, free: 108 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008522/0.3886, allocations: 0.5894 MB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3886, allocations: 12.03 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.3887, allocations: 38.73 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.3888, allocations: 44.66 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.3891, allocations: 250.7 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3891, allocations: 384 / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.3891, allocations: 8.375 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.3893, allocations: 62.23 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3893, allocations: 3.938 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3893, allocations: 0 / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3893, allocations: 7.922 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3894, allocations: 27.92 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.39, allocations: 379.8 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3901, allocations: 46.59 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.3902, allocations: 20.94 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3902, allocations: 0 / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.3902, allocations: 30.56 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3902, allocations: 0 / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00101/0.3913, allocations: 312.5 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.3913, allocations: 59.39 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3923, allocations: 0.8737 MB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3924, allocations: 29.7 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.3926, allocations: 220.1 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.3926, allocations: 31.73 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.3927, allocations: 29.66 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3929, allocations: 362.8 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.393, allocations: 19.98 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.393, allocations: 27.98 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3932, allocations: 68.75 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3932, allocations: 0 / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002495/0.3935, allocations: 137.6 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3935, allocations: 4 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.3935, allocations: 80 / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3935, allocations: 0 / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3936, allocations: 23.98 kB / 0.5684 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3936, allocations: 3.984 kB / 0.5684 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.3937, allocations: 7.938 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3937, allocations: 0 / 0.5685 GB, free: 12.21 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 (8): * Single equations (assignments): 8 * 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.0002426/0.3939, allocations: 223 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.394, allocations: 47.67 kB / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.3944, allocations: 153.6 kB / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3944, allocations: 0 / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3944, allocations: 0 / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3944, allocations: 3.938 kB / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.3951, allocations: 490.3 kB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3951, allocations: 0 / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.3952, allocations: 19.92 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.3952, allocations: 7.938 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3952, allocations: 4 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3952, allocations: 0 / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3952, allocations: 4 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.3956, allocations: 248 kB / 0.5696 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.3956, allocations: 43.64 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.3957, allocations: 4 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.3958, allocations: 4 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3958, allocations: 12.34 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3958, allocations: 0 / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007307/0.3965, allocations: 0.6667 MB / 0.5703 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3965, allocations: 0 / 0.5703 GB, free: 10.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3968, allocations: 31.88 kB / 0.5703 GB, free: 10.18 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 (8): * Single equations (assignments): 8 * 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.002331/0.3991, allocations: 1.12 MB / 0.5714 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.3994, allocations: 67.88 kB / 0.5715 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3994, allocations: 4 kB / 0.5715 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.3995, allocations: 35.92 kB / 0.5715 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.3999, allocations: 37.59 kB / 0.5716 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.4043, allocations: 3.332 MB / 0.5748 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.4048, allocations: 0.8299 MB / 0.5756 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.721e-05/0.4049, allocations: 16.73 kB / 0.5757 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.4051, allocations: 107.4 kB / 0.5758 GB, free: 4.648 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4051, allocations: 4 kB / 0.5758 GB, free: 4.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.443, allocations: 6.555 MB / 0.5822 GB, free: 14.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.09, allocations: 7.984 kB / 0.5822 GB, free: 14.11 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.222862981026992]