Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.002073/0.002073, allocations: 126.1 kB / 17.84 MB, free: 5.258 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.002513/0.002513, allocations: 200.6 kB / 20.79 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 207.6 MB / 231.2 MB, free: 4.117 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.33/0.33, allocations: 44.24 MB / 327.3 MB, free: 6.789 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003511/0.003511, allocations: 71.89 kB / 462.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3077, allocations: 60.99 MB / 0.5116 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002724/0.3104, allocations: 1.615 MB / 0.5132 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005811/0.311, allocations: 350.6 kB / 0.5136 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.3111, allocations: 0.8125 kB / 0.5136 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.3116, allocations: 459.5 kB / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.3119, allocations: 251.2 kB / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.3123, allocations: 155.8 kB / 0.5144 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.3125, allocations: 161.3 kB / 0.5145 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3127, allocations: 26.95 kB / 0.5146 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.3128, allocations: 105.9 kB / 0.5147 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.3131, allocations: 250.9 kB / 0.5149 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3132, allocations: 3.75 kB / 0.5149 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3133, allocations: 31.89 kB / 0.5149 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.3134, allocations: 86.53 kB / 0.515 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.3134, allocations: 99.44 kB / 0.5151 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.3137, allocations: 260.4 kB / 0.5154 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3137, allocations: 4 kB / 0.5154 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3137, allocations: 0 / 0.5154 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.3138, allocations: 1.375 kB / 0.5154 GB, free: 10.66 MB / 382.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.0007169/0.3145, allocations: 0.6582 MB / 0.516 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3145, allocations: 13.48 kB / 0.516 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.43e-05/0.3145, allocations: 1.562 kB / 0.516 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.985e-05/0.3146, allocations: 30.75 kB / 0.5161 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.3146, allocations: 47.86 kB / 0.5161 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.3149, allocations: 307.1 kB / 0.5164 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3149, allocations: 1.75 kB / 0.5164 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3149, allocations: 10.69 kB / 0.5164 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3151, allocations: 52.66 kB / 0.5165 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3151, allocations: 7.875 kB / 0.5165 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3151, allocations: 1.375 kB / 0.5165 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3151, allocations: 0 / 0.5165 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3152, allocations: 32.45 kB / 0.5165 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.3156, allocations: 401.7 kB / 0.5169 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3158, allocations: 44.38 kB / 0.5169 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.3159, allocations: 23.75 kB / 0.5169 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3159, allocations: 0 / 0.5169 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.3159, allocations: 31.94 kB / 0.517 GB, free: 9.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.3159, allocations: 4 kB / 0.517 GB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006406/0.3166, allocations: 252.7 kB / 0.5172 GB, free: 8.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.3166, allocations: 55.34 kB / 0.5173 GB, free: 8.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.3172, allocations: 0.8654 MB / 0.5181 GB, free: 8.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.3172, allocations: 25.7 kB / 0.5181 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3173, allocations: 220.1 kB / 0.5184 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3173, allocations: 23.84 kB / 0.5184 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.3174, allocations: 21.72 kB / 0.5184 GB, free: 7.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.3174, allocations: 358.8 kB / 0.5187 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.3175, allocations: 23.97 kB / 0.5188 GB, free: 7.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.154e-05/0.3176, allocations: 19.98 kB / 0.5188 GB, free: 7.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3177, allocations: 52.83 kB / 0.5188 GB, free: 7.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3177, allocations: 7.938 kB / 0.5188 GB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001907/0.3179, allocations: 121.4 kB / 0.519 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3179, allocations: 4.625 kB / 0.519 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3179, allocations: 0 / 0.519 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3179, allocations: 4 kB / 0.519 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.318, allocations: 8 kB / 0.519 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.318, allocations: 3.938 kB / 0.519 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.3181, allocations: 11.98 kB / 0.519 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3181, allocations: 0 / 0.519 GB, free: 7.207 MB / 382.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.0001201/0.3182, allocations: 217.8 kB / 0.5192 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.3182, allocations: 43.72 kB / 0.5192 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.3185, allocations: 149 kB / 0.5194 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3185, allocations: 0 / 0.5194 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3185, allocations: 3.938 kB / 0.5194 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3185, allocations: 3.938 kB / 0.5194 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.3189, allocations: 470.7 kB / 0.5198 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3189, allocations: 0 / 0.5198 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.319, allocations: 16 kB / 0.5198 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.319, allocations: 3.938 kB / 0.5198 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.319, allocations: 0 / 0.5198 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.319, allocations: 3.984 kB / 0.5199 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.319, allocations: 0 / 0.5199 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.3192, allocations: 219.2 kB / 0.5201 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.3192, allocations: 120.8 kB / 0.5202 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3192, allocations: 4 kB / 0.5202 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.3193, allocations: 4 kB / 0.5202 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.3194, allocations: 3.984 kB / 0.5202 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3194, allocations: 3.938 kB / 0.5202 GB, free: 5.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.3198, allocations: 0.6589 MB / 0.5208 GB, free: 5.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3198, allocations: 3.938 kB / 0.5208 GB, free: 5.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.32, allocations: 24 kB / 0.5209 GB, free: 5.176 MB / 382.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.001722/0.3218, allocations: 1.042 MB / 0.5219 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.322, allocations: 63.84 kB / 0.5219 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.322, allocations: 0 / 0.5219 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.322, allocations: 23.98 kB / 0.522 GB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3224, allocations: 30.23 kB / 0.522 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.3251, allocations: 3.249 MB / 0.5252 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3254, allocations: 0.8299 MB / 0.526 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.638e-05/0.3254, allocations: 19.95 kB / 0.526 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3256, allocations: 111.5 kB / 0.5261 GB, free: 15.7 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3256, allocations: 7.875 kB / 0.5261 GB, free: 15.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.3494, allocations: 6.097 MB / 0.5321 GB, free: 9.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.194/9.544, allocations: 17.73 kB / 0.5321 GB, free: 9.504 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 12.628419178014155]