Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001561/0.001561, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001802/0.001802, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 60.09 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1135, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003633/0.1171, allocations: 1.611 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.1179, allocations: 427.1 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.118, allocations: 0 / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1183, allocations: 99.73 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1185, allocations: 67.75 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1189, allocations: 122.9 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1191, allocations: 91.75 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1192, allocations: 32.2 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.1193, allocations: 39.89 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1195, allocations: 59.81 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1195, allocations: 4 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1196, allocations: 51.92 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.1197, allocations: 23.86 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.1198, allocations: 43.73 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.12, allocations: 119.6 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.12, allocations: 4 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.12, allocations: 0 / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.12, allocations: 0 / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005603/0.1206, allocations: 429.8 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1206, allocations: 12.03 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.1207, allocations: 34.73 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.1207, allocations: 20.75 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1209, allocations: 208 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1209, allocations: 4.375 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.121, allocations: 8.375 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1212, allocations: 73.59 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1212, allocations: 0 / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1212, allocations: 0 / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1212, allocations: 4 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1214, allocations: 39.97 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1218, allocations: 356.5 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.122, allocations: 66.53 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.1221, allocations: 28.84 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1221, allocations: 3.938 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1221, allocations: 34.56 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1221, allocations: 0 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0011/0.1232, allocations: 329.1 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1233, allocations: 55.41 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1235, allocations: 231.5 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1235, allocations: 33.64 kB / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.1236, allocations: 116 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.1237, allocations: 43.3 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.1237, allocations: 25.72 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1238, allocations: 326.8 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.124, allocations: 43.97 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.1241, allocations: 47.97 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.1243, allocations: 115.1 kB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1243, allocations: 0 / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002788/0.1246, allocations: 153.5 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1246, allocations: 4 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1246, allocations: 3.938 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1246, allocations: 4 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1248, allocations: 35.92 kB / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1248, allocations: 0 / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.1248, allocations: 4 kB / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1248, allocations: 3.984 kB / 475 MB, free: 8.414 MB / 350.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 (13): * Single equations (assignments): 13 * 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 9.786e-05/0.125, allocations: 129.8 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.125, allocations: 23.8 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.1254, allocations: 183.8 kB / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1254, allocations: 3.938 kB / 475.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1254, allocations: 4 kB / 475.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1254, allocations: 0 / 475.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.1261, allocations: 0.4951 MB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1261, allocations: 0 / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.1262, allocations: 27.98 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1262, allocations: 0 / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1262, allocations: 4 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1262, allocations: 4 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1262, allocations: 3.984 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.1266, allocations: 266.9 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.1266, allocations: 89 kB / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1267, allocations: 0 / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.1267, allocations: 8 kB / 476.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1268, allocations: 7.984 kB / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1268, allocations: 4 kB / 476.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1269, allocations: 180.2 kB / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.127, allocations: 0 / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1272, allocations: 36 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001551/0.1288, allocations: 1.134 MB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.1291, allocations: 123.9 kB / 477.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1291, allocations: 0 / 477.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1293, allocations: 63.97 kB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1297, allocations: 23.45 kB / 477.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1318, allocations: 1.879 MB / 479.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1321, allocations: 0.7197 MB / 480.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.974e-05/0.1322, allocations: 28.53 kB / 480.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.1322, allocations: 43.41 kB / 480.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1323, allocations: 0 / 480.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.1554, allocations: 3.421 MB / 483.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.017, allocations: 9.609 kB / 483.9 MB, free: 15.53 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches