Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001515/0.001515, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001805/0.001805, allocations: 210.2 kB / 23.73 MB, free: 4.379 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2508/0.2508, allocations: 46.96 MB / 360.9 MB, free: 4.145 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 71.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003521/0.3388, allocations: 1.971 MB / 0.5625 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3408, allocations: 0.9945 MB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.3409, allocations: 7.938 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.3414, allocations: 251.2 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.3419, allocations: 271.1 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.343, allocations: 497.9 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.3434, allocations: 330.9 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3436, allocations: 54.72 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.3438, allocations: 147.2 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.3441, allocations: 227.2 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.3441, allocations: 12 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.3443, allocations: 83.89 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.3444, allocations: 95.61 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.3445, allocations: 91.22 kB / 0.5655 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.345, allocations: 342.2 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.345, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.345, allocations: 3.938 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.345, allocations: 0 / 0.5658 GB, free: 14.9 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009487/0.3459, allocations: 0.6166 MB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.346, allocations: 8.031 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.3461, allocations: 46.73 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.3461, allocations: 56.55 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.3466, allocations: 268.7 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3466, allocations: 8.375 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.3466, allocations: 12.38 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3469, allocations: 109.5 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3469, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3469, allocations: 4 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3469, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.3471, allocations: 75.89 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.3479, allocations: 463.4 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.3481, allocations: 94.42 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.3482, allocations: 28.84 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.3482, allocations: 4 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3483, allocations: 34.5 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3483, allocations: 0 / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001091/0.3494, allocations: 404.7 kB / 0.5679 GB, free: 12.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3494, allocations: 59.41 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.3501, allocations: 0.584 MB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3501, allocations: 33.62 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3503, allocations: 216.3 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.3503, allocations: 59.48 kB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.3504, allocations: 33.7 kB / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3506, allocations: 358.8 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3507, allocations: 51.98 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3508, allocations: 50.62 kB / 0.5693 GB, free: 11.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.351, allocations: 132.7 kB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.351, allocations: 0 / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003551/0.3514, allocations: 199.6 kB / 0.5697 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3514, allocations: 8 kB / 0.5697 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3514, allocations: 0 / 0.5697 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3514, allocations: 0 / 0.5697 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3516, allocations: 39.91 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3516, allocations: 0 / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.3517, allocations: 8 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3517, allocations: 11.98 kB / 0.5697 GB, free: 10.68 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 (17): * Single equations (assignments): 17 * 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.0001864/0.3519, allocations: 173.8 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.3519, allocations: 43.72 kB / 0.5699 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.3525, allocations: 249.5 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3525, allocations: 4 kB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3525, allocations: 0 / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3525, allocations: 0 / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008758/0.3533, allocations: 0.5832 MB / 0.5707 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3533, allocations: 4 kB / 0.5707 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.3535, allocations: 31.98 kB / 0.5708 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3535, allocations: 0 / 0.5708 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3535, allocations: 4 kB / 0.5708 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3535, allocations: 3.938 kB / 0.5708 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3535, allocations: 0 / 0.5708 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.3539, allocations: 309.5 kB / 0.5711 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.354, allocations: 43.7 kB / 0.5711 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.354, allocations: 7.938 kB / 0.5711 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3541, allocations: 15.92 kB / 0.5711 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.3542, allocations: 11.98 kB / 0.5712 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3542, allocations: 4 kB / 0.5712 GB, free: 9.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004764/0.3546, allocations: 439.1 kB / 0.5716 GB, free: 8.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3546, allocations: 0 / 0.5716 GB, free: 8.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.355, allocations: 51.94 kB / 0.5716 GB, free: 8.648 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 (17): * Single equations (assignments): 17 * 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.003554/0.3585, allocations: 1.497 MB / 0.5731 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.3589, allocations: 127.8 kB / 0.5732 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3589, allocations: 0 / 0.5732 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.359, allocations: 71.89 kB / 0.5733 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.3596, allocations: 85.95 kB / 0.5734 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.3637, allocations: 3.16 MB / 0.5764 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3639, allocations: 208.2 kB / 0.5766 GB, free: 3.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.364, allocations: 50.23 kB / 0.5767 GB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.3642, allocations: 135.4 kB / 0.5768 GB, free: 3.582 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3642, allocations: 0 / 0.5768 GB, free: 3.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.4018, allocations: 8.393 MB / 0.585 GB, free: 11.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.23, allocations: 6.438 kB / 0.585 GB, free: 11.2 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.37660660999245]