Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.0008706/0.0008706, allocations: 91.72 kB / 17.35 MB, free: 6.031 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.0009719/0.000972, allocations: 173.3 kB / 18.26 MB, free: 5.391 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.373/1.373, allocations: 223.3 MB / 242.3 MB, free: 72 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1925/0.1925, allocations: 44.25 MB / 337.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 8.625 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001682/0.1182, allocations: 1.333 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1196, allocations: 1.039 MB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.1196, allocations: 0 / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1198, allocations: 19.94 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1199, allocations: 35.84 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1202, allocations: 158.5 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.1204, allocations: 75.75 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.1204, allocations: 12 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.1205, allocations: 15.92 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1206, allocations: 27.84 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1206, allocations: 8 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.1207, allocations: 51.97 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.1208, allocations: 15.92 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.1208, allocations: 53.44 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.121, allocations: 104 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.121, allocations: 0 / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.121, allocations: 0 / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.121, allocations: 0 / 475.3 MB, free: 10.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004096/0.1214, allocations: 387.3 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1215, allocations: 8.031 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.1215, allocations: 30.75 kB / 475.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.1215, allocations: 12.78 kB / 475.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1217, allocations: 200.1 kB / 475.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-06/0.1217, allocations: 384 / 475.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1217, allocations: 12.3 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1219, allocations: 83.31 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1219, allocations: 0 / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1219, allocations: 8 kB / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.1219, allocations: 0 / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1221, allocations: 39.97 kB / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1224, allocations: 324.6 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1226, allocations: 50.56 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.1226, allocations: 32.94 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1227, allocations: 0 / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1227, allocations: 34.56 kB / 476.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1227, allocations: 0 / 476.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006939/0.1234, allocations: 257.2 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1234, allocations: 77.11 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1236, allocations: 149.6 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1236, allocations: 25.7 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1236, allocations: 99.98 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1237, allocations: 19.7 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.1237, allocations: 17.72 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.1238, allocations: 322.8 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1239, allocations: 43.97 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1241, allocations: 69.69 kB / 477.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.1243, allocations: 112.9 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1243, allocations: 0 / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002802/0.1246, allocations: 133.5 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.1246, allocations: 4 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.1246, allocations: 4 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.1246, allocations: 0 / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1247, allocations: 23.92 kB / 477.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1247, allocations: 3.938 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.1248, allocations: 23.98 kB / 477.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1248, allocations: 0 / 477.9 MB, free: 7.469 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 (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 7.274e-05/0.1249, allocations: 125.8 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.125, allocations: 7.906 kB / 478 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.1253, allocations: 158.3 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1253, allocations: 0 / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1253, allocations: 3.938 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1253, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.1259, allocations: 426.4 kB / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1259, allocations: 7.938 kB / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.091e-05/0.126, allocations: 19.98 kB / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.126, allocations: 7.938 kB / 478.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.126, allocations: 8 kB / 478.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.126, allocations: 0 / 478.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.126, allocations: 0 / 478.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.1263, allocations: 243.7 kB / 478.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.1264, allocations: 81.02 kB / 478.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.1264, allocations: 11.92 kB / 478.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.1265, allocations: 16 kB / 478.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.1266, allocations: 11.98 kB / 479 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1266, allocations: 0 / 479 MB, free: 6.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.806e-05/0.1267, allocations: 113.4 kB / 479.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1267, allocations: 0 / 479.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1269, allocations: 20 kB / 479.1 MB, free: 6.129 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 (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.001424/0.1284, allocations: 1.121 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.1287, allocations: 107.9 kB / 480.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1287, allocations: 0 / 480.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1288, allocations: 55.91 kB / 480.4 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.1291, allocations: 15.98 kB / 480.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1309, allocations: 1.656 MB / 482 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1311, allocations: 0.6965 MB / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.838e-05/0.1312, allocations: 29.12 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.1313, allocations: 35.42 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1313, allocations: 0 / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.1456, allocations: 2.646 MB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.1458, allocations: 240.3 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.852, allocations: 0 / 485.7 MB, free: 15.67 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches