Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 101.1 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1917/0.1917, allocations: 43.52 MB / 313.9 MB, free: 0.5117 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.2 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08961, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002713/0.09236, allocations: 1.605 MB / 442.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.09293, allocations: 351.5 kB / 442.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.093, allocations: 3.938 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.09322, allocations: 47.81 kB / 442.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.09342, allocations: 51.83 kB / 442.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.09376, allocations: 159.5 kB / 442.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.09389, allocations: 63.83 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.09401, allocations: 23.94 kB / 442.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.09406, allocations: 35.89 kB / 442.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.09413, allocations: 31.86 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.09416, allocations: 4 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.09423, allocations: 31.98 kB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.09429, allocations: 23.91 kB / 443 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.09433, allocations: 27.8 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.09448, allocations: 95.72 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.09449, allocations: 0 / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.0945, allocations: 0 / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.09451, allocations: 0 / 443.2 MB, free: 4.223 MB / 318.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.0003718/0.09488, allocations: 415 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.09492, allocations: 11.89 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.09495, allocations: 30.75 kB / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.09499, allocations: 12.75 kB / 443.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.09512, allocations: 192.8 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.09514, allocations: 12.06 kB / 443.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.09516, allocations: 4 kB / 443.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.09531, allocations: 57.67 kB / 443.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.09533, allocations: 0 / 443.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.09534, allocations: 0 / 443.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.09535, allocations: 4 kB / 443.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.09547, allocations: 43.89 kB / 443.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.0958, allocations: 320.6 kB / 444.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.09593, allocations: 50.55 kB / 444.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.09602, allocations: 24.94 kB / 444.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.09605, allocations: 0 / 444.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.09607, allocations: 42.5 kB / 444.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.09608, allocations: 0 / 444.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007257/0.09681, allocations: 225.1 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.09685, allocations: 59.34 kB / 444.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.09699, allocations: 172.5 kB / 444.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.09701, allocations: 25.7 kB / 444.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.09705, allocations: 100.1 kB / 444.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.09708, allocations: 27.64 kB / 444.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.09713, allocations: 21.72 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.09719, allocations: 318.8 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.09731, allocations: 43.97 kB / 445.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.09741, allocations: 35.97 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.09762, allocations: 84.86 kB / 445.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.09763, allocations: 4 kB / 445.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002466/0.09788, allocations: 129.5 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.0979, allocations: 4 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.09791, allocations: 4 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.09793, allocations: 0 / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.09805, allocations: 19.92 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.09806, allocations: 4 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.09812, allocations: 7.984 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.09814, allocations: 4 kB / 445.6 MB, free: 1.531 MB / 318.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 6.302e-05/0.09821, allocations: 133.8 kB / 445.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.09824, allocations: 11.81 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.09856, allocations: 142.6 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.09857, allocations: 7.875 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.09858, allocations: 0 / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.09858, allocations: 0 / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.09902, allocations: 410.5 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.09903, allocations: 4 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.09911, allocations: 27.86 kB / 446.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.09912, allocations: 3.984 kB / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.09914, allocations: 0 / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.09914, allocations: 0 / 446.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.09915, allocations: 4 kB / 446.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.09942, allocations: 219.4 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.09946, allocations: 92.95 kB / 446.6 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.09948, allocations: 0 / 446.6 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.09957, allocations: 15.92 kB / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.09962, allocations: 11.98 kB / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.09963, allocations: 4 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.862e-05/0.09971, allocations: 131.9 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09971, allocations: 0 / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.09995, allocations: 20 kB / 446.8 MB, free: 212 kB / 318.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.001398/0.1014, allocations: 1.061 MB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.1017, allocations: 103.8 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1017, allocations: 0 / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1018, allocations: 47.97 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1022, allocations: 23.92 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1041, allocations: 1.654 MB / 449.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1044, allocations: 0.7054 MB / 450.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.022e-05/0.1045, allocations: 28.94 kB / 450.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.1046, allocations: 27.44 kB / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1046, allocations: 0 / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.1245, allocations: 2.878 MB / 453.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.811, allocations: 7.219 kB / 453.4 MB, free: 9.621 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches