Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001619/0.001619, allocations: 109 kB / 16.41 MB, free: 6.48 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.001901/0.001901, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.226/0.226, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001825/0.001825, allocations: 77.88 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.12, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003036/0.1231, allocations: 1.62 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006737/0.1238, allocations: 347.6 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.1239, allocations: 7.938 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.1245, allocations: 451.2 kB / 0.4898 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.1248, allocations: 247.4 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.1253, allocations: 159.7 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1255, allocations: 171.6 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1256, allocations: 27.98 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1258, allocations: 107.8 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.126, allocations: 211.6 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1261, allocations: 4 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.584e-05/0.1262, allocations: 35.98 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-05/0.1263, allocations: 95.61 kB / 0.4908 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.1264, allocations: 99 kB / 0.4909 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.1267, allocations: 263 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1267, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1267, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1267, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.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.0007446/0.1275, allocations: 0.653 MB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1275, allocations: 15.83 kB / 0.4918 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.1276, allocations: 30.75 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.1276, allocations: 44.47 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1279, allocations: 296.2 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1279, allocations: 8.312 kB / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.128, allocations: 4.375 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1281, allocations: 65.59 kB / 0.4922 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1282, allocations: 0 / 0.4922 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1282, allocations: 7.969 kB / 0.4922 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1282, allocations: 0 / 0.4922 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1283, allocations: 47.91 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.1288, allocations: 400.6 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.129, allocations: 46.56 kB / 0.4927 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.1291, allocations: 24.94 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1291, allocations: 0 / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1291, allocations: 38.5 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1291, allocations: 0 / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008193/0.1299, allocations: 299.9 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.13, allocations: 59.34 kB / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007848/0.1308, allocations: 0.8691 MB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1308, allocations: 25.7 kB / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.131, allocations: 220 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.131, allocations: 23.72 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.1311, allocations: 21.7 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1312, allocations: 358.8 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1313, allocations: 47.91 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1315, allocations: 39.95 kB / 0.4946 GB, free: 4.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1317, allocations: 80.8 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1317, allocations: 4 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002942/0.132, allocations: 161 kB / 0.4949 GB, free: 4.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.132, allocations: 4 kB / 0.4949 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.132, allocations: 4 kB / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1321, allocations: 0 / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1322, allocations: 23.97 kB / 0.4949 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1322, allocations: 320 / 0.4949 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/0.1323, allocations: 11.94 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1323, allocations: 0 / 0.4949 GB, free: 4.355 MB / 382.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 0.0001743/0.1325, allocations: 221.7 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.1325, allocations: 39.53 kB / 0.4952 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.1329, allocations: 189.3 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1329, allocations: 7.922 kB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1329, allocations: 0 / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1329, allocations: 3.938 kB / 0.4953 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.1336, allocations: 0.5023 MB / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1336, allocations: 0 / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.1337, allocations: 19.92 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.1337, allocations: 3.984 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1337, allocations: 11.94 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1337, allocations: 0 / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1337, allocations: 0 / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.1341, allocations: 255 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.1341, allocations: 108.5 kB / 0.4962 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1342, allocations: 3.938 kB / 0.4962 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.1343, allocations: 11.98 kB / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.1343, allocations: 15.98 kB / 0.4962 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1343, allocations: 0 / 0.4962 GB, free: 2.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006172/0.135, allocations: 0.6472 MB / 0.4969 GB, free: 2.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.135, allocations: 0 / 0.4969 GB, free: 2.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1352, allocations: 24 kB / 0.4969 GB, free: 2.199 MB / 382.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.001431/0.1367, allocations: 1.099 MB / 0.498 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.137, allocations: 87.92 kB / 0.4981 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.137, allocations: 0 / 0.4981 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1371, allocations: 51.91 kB / 0.4981 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.1375, allocations: 29.94 kB / 0.4981 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.1416, allocations: 3.32 MB / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.1422, allocations: 0.8376 MB / 0.5022 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.028e-05/0.1423, allocations: 20.64 kB / 0.5022 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1424, allocations: 115.5 kB / 0.5023 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1425, allocations: 3.938 kB / 0.5023 GB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.1666, allocations: 6.223 MB / 0.5084 GB, free: 6.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.007, allocations: 11.83 kB / 0.5084 GB, free: 6.293 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches