Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.0009219/0.0009219, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001145/0.001145, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.335/1.335, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1966/0.1966, allocations: 44.25 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004419, allocations: 9.75 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001998/0.1211, allocations: 1.294 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.1219, allocations: 427.3 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.122, allocations: 0 / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.1225, allocations: 451.2 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1228, allocations: 243.6 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1232, allocations: 159.6 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.1235, allocations: 151.7 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.1236, allocations: 16.17 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1237, allocations: 107.7 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1239, allocations: 203.6 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1239, allocations: 0 / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.381e-05/0.124, allocations: 16 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.1241, allocations: 91.61 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.1242, allocations: 124.8 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1245, allocations: 235.2 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1245, allocations: 0 / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1245, allocations: 0 / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1245, allocations: 0 / 475.8 MB, free: 9.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006264/0.1251, allocations: 0.5951 MB / 476.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1252, allocations: 12.03 kB / 476.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1252, allocations: 30.75 kB / 476.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.1253, allocations: 48.31 kB / 476.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1255, allocations: 300.1 kB / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1256, allocations: 384 / 476.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1256, allocations: 12.12 kB / 476.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1258, allocations: 61.67 kB / 476.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1258, allocations: 0 / 476.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1258, allocations: 4 kB / 476.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1258, allocations: 0 / 476.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1259, allocations: 43.97 kB / 476.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.1265, allocations: 396.8 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1266, allocations: 54.48 kB / 477.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.1267, allocations: 32.94 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1267, allocations: 0 / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1268, allocations: 30.56 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1268, allocations: 0 / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003865/0.1272, allocations: 145 kB / 477.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.1272, allocations: 51.41 kB / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/0.128, allocations: 0.8613 MB / 478.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.128, allocations: 29.7 kB / 478.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1282, allocations: 208.1 kB / 478.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1282, allocations: 19.69 kB / 478.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.1283, allocations: 9.719 kB / 478.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1284, allocations: 370.7 kB / 479.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.1285, allocations: 19.98 kB / 479.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.1286, allocations: 24.16 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1287, allocations: 56.83 kB / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1287, allocations: 0 / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002084/0.1289, allocations: 117.1 kB / 479.3 MB, free: 6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1289, allocations: 8 kB / 479.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.129, allocations: 0 / 479.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.129, allocations: 4 kB / 479.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.1291, allocations: 8 kB / 479.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1291, allocations: 3.984 kB / 479.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.1291, allocations: 8 kB / 479.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1291, allocations: 0 / 479.4 MB, free: 5.969 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 (3): * Single equations (assignments): 3 * 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.0001637/0.1293, allocations: 217.7 kB / 479.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.1294, allocations: 39.44 kB / 479.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.1296, allocations: 133 kB / 479.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1296, allocations: 7.922 kB / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1296, allocations: 0 / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1297, allocations: 0 / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1299, allocations: 293.5 kB / 480 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1299, allocations: 3.938 kB / 480 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.13, allocations: 15.98 kB / 480 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.13, allocations: 0 / 480 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.13, allocations: 4 kB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.13, allocations: 0 / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.13, allocations: 0 / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1303, allocations: 222.9 kB / 480.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.1304, allocations: 104.6 kB / 480.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1304, allocations: 0 / 480.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.1305, allocations: 11.98 kB / 480.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1305, allocations: 0 / 480.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1305, allocations: 4 kB / 480.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005509/0.1311, allocations: 0.6589 MB / 481 MB, free: 4.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.1311, allocations: 4 kB / 481 MB, free: 4.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1313, allocations: 23.88 kB / 481.1 MB, free: 4.141 MB / 350.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 (3): * Single equations (assignments): 3 * 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.001233/0.1326, allocations: 1.006 MB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1328, allocations: 51.95 kB / 482.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1328, allocations: 0 / 482.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.1329, allocations: 27.92 kB / 482.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1333, allocations: 25.95 kB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.137, allocations: 3.287 MB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1374, allocations: 0.8284 MB / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.1375, allocations: 16.05 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1376, allocations: 107.4 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1376, allocations: 0 / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.1557, allocations: 5.23 MB / 491.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.156, allocations: 243.5 kB / 491.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.897, allocations: 0 / 491.9 MB, free: 9.398 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches