Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001319/0.001319, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001719/0.001719, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.444/1.444, allocations: 230.6 MB / 257.5 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.341/0.341, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.88 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3025, allocations: 66.03 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00309/0.3056, allocations: 1.67 MB / 0.5623 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3076, allocations: 1.275 MB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.3077, allocations: 0 / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.3079, allocations: 27.78 kB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.3082, allocations: 91.62 kB / 0.5637 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.3085, allocations: 127.4 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3087, allocations: 71.77 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3088, allocations: 13.83 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.3089, allocations: 35.84 kB / 0.5639 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3091, allocations: 39.83 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3091, allocations: 8 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.3092, allocations: 95.89 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.3093, allocations: 23.91 kB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.3094, allocations: 31.8 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.3097, allocations: 151.4 kB / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3097, allocations: 0 / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3097, allocations: 0 / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3097, allocations: 4 kB / 0.5642 GB, free: 0.7773 MB / 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.0006343/0.3103, allocations: 345.6 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3104, allocations: 12.03 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.3104, allocations: 30.75 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3105, allocations: 8.891 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.3107, allocations: 144.9 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-06/0.3107, allocations: 384 / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.3107, allocations: 8.328 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3109, allocations: 83.23 kB / 0.5648 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3109, allocations: 4 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3109, allocations: 12 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3109, allocations: 0 / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3111, allocations: 31.97 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3115, allocations: 263.8 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3116, allocations: 46.48 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.3117, allocations: 28.94 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3117, allocations: 3.938 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3117, allocations: 30.56 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3117, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007817/0.3125, allocations: 221.3 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.3125, allocations: 81.09 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3127, allocations: 150.1 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3127, allocations: 29.7 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.3128, allocations: 96.12 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.3129, allocations: 27.75 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.3129, allocations: 25.7 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3131, allocations: 314.8 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.3132, allocations: 31.97 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3133, allocations: 57.67 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3135, allocations: 76.84 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3135, allocations: 0 / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002796/0.3138, allocations: 109.6 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3138, allocations: 4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3138, allocations: 0 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3138, allocations: 4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.314, allocations: 19.98 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.314, allocations: 0 / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.314, allocations: 15.92 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3141, allocations: 7.938 kB / 0.5665 GB, free: 14.29 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 (7): * Single equations (assignments): 7 * 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.0001348/0.3142, allocations: 121.8 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3142, allocations: 7.953 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.3146, allocations: 126.3 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3146, allocations: 0 / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3146, allocations: 4 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3146, allocations: 3.938 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.3152, allocations: 369.5 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3152, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.3153, allocations: 27.92 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3153, allocations: 0 / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3153, allocations: 7.938 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3153, allocations: 0 / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3153, allocations: 0 / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.3157, allocations: 211.8 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.3157, allocations: 15.94 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3157, allocations: 8.219 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3158, allocations: 11.98 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.3159, allocations: 11.98 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3159, allocations: 0 / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.316, allocations: 125.5 kB / 0.5675 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.316, allocations: 4 kB / 0.5675 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.3163, allocations: 35.88 kB / 0.5675 GB, free: 13.13 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 (7): * Single equations (assignments): 7 * 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.002336/0.3186, allocations: 1.14 MB / 0.5686 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.3189, allocations: 75.94 kB / 0.5687 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3189, allocations: 0 / 0.5687 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.319, allocations: 43.89 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3194, allocations: 18.12 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.3216, allocations: 1.601 MB / 0.5703 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.322, allocations: 0.6924 MB / 0.571 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.322, allocations: 16.66 kB / 0.571 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.3221, allocations: 31.42 kB / 0.571 GB, free: 9.566 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3221, allocations: 0 / 0.571 GB, free: 9.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.3515, allocations: 3.673 MB / 0.5746 GB, free: 5.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.47, allocations: 7.938 kB / 0.5746 GB, free: 5.918 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.593232313171029]