Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001307/0.001307, allocations: 103.5 kB / 16.27 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.001471/0.001471, allocations: 190.9 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.382/1.382, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.201/0.201, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001386/0.001386, allocations: 66.02 kB / 382.8 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.079/0.0804, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002165/0.0826, allocations: 1.597 MB / 442.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004516/0.08307, allocations: 351.5 kB / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.08312, allocations: 4 kB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.08348, allocations: 451.1 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.08371, allocations: 255.4 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.084, allocations: 151 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.08414, allocations: 163.6 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.08423, allocations: 20.19 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.0843, allocations: 107.8 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.08444, allocations: 207.6 kB / 443.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.08447, allocations: 4 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.387e-05/0.08453, allocations: 35.94 kB / 443.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.0846, allocations: 79.67 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.08466, allocations: 111 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.08484, allocations: 247 kB / 444.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.08485, allocations: 4 kB / 444.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08486, allocations: 0 / 444.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.08487, allocations: 0 / 444.4 MB, free: 3.027 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.0004422/0.08531, allocations: 0.6414 MB / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.08535, allocations: 11.89 kB / 445 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.243e-05/0.08537, allocations: 30.75 kB / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.08542, allocations: 52.31 kB / 445.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.08559, allocations: 304.1 kB / 445.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-06/0.0856, allocations: 384 / 445.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.08562, allocations: 12.12 kB / 445.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.08573, allocations: 53.67 kB / 445.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.08575, allocations: 0 / 445.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.08576, allocations: 0 / 445.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.08577, allocations: 4 kB / 445.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.08586, allocations: 31.97 kB / 445.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.08618, allocations: 400.6 kB / 445.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.08634, allocations: 42.56 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.08639, allocations: 16.94 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.08641, allocations: 7.938 kB / 446 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.638e-06/0.08643, allocations: 30.56 kB / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.08643, allocations: 0 / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004671/0.08691, allocations: 236 kB / 446.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/0.08693, allocations: 51.41 kB / 446.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.08741, allocations: 0.8691 MB / 447.1 MB, free: 56 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.08743, allocations: 25.7 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.08758, allocations: 220.1 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.08761, allocations: 23.64 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.08765, allocations: 25.72 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.08776, allocations: 362.8 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.08784, allocations: 23.92 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.0879, allocations: 20.17 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.08804, allocations: 56.83 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.08804, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.08825, allocations: 121.2 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.08827, allocations: 8 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.08828, allocations: 288 / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.08829, allocations: 0 / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.08835, allocations: 8 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.08837, allocations: 15.86 kB / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.08842, allocations: 0 / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.08844, allocations: 7.938 kB / 448 MB, free: 15.12 MB / 334.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.0001505/0.08859, allocations: 221.7 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.08865, allocations: 47.42 kB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.0889, allocations: 137.1 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.08891, allocations: 0 / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.08892, allocations: 3.938 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.08893, allocations: 0 / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.08939, allocations: 478.5 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.0894, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.08945, allocations: 8.188 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.08946, allocations: 3.938 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.08948, allocations: 11.98 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.08948, allocations: 0 / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.08949, allocations: 0 / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.0897, allocations: 218.9 kB / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.08978, allocations: 116.5 kB / 449.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.08981, allocations: 3.938 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.08989, allocations: 11.98 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.08993, allocations: 4 kB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.08993, allocations: 0 / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005042/0.09044, allocations: 0.655 MB / 449.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09045, allocations: 4 kB / 449.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.09069, allocations: 24 kB / 450 MB, free: 13.09 MB / 334.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.001132/0.09182, allocations: 1.058 MB / 451 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.09201, allocations: 55.97 kB / 451.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.09202, allocations: 0 / 451.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.0921, allocations: 27.97 kB / 451.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.09243, allocations: 24.34 kB / 451.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.09567, allocations: 3.271 MB / 454.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.09611, allocations: 0.8336 MB / 455.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.09617, allocations: 11.98 kB / 455.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.09629, allocations: 115.4 kB / 455.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09629, allocations: 0 / 455.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.054/0.1503, allocations: 5.899 MB / 461.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.254, allocations: 7.578 kB / 461.3 MB, free: 1.707 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches