Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001826/0.001833, allocations: 104.4 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.002107/0.002107, allocations: 187.5 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.531/1.531, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2614/0.2614, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001909/0.001909, allocations: 69.67 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.004098/0.121, allocations: 1.543 MB / 442.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.1219, allocations: 315.5 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1221, allocations: 0 / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1224, allocations: 31.78 kB / 442.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1227, allocations: 43.84 kB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1231, allocations: 63.78 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1233, allocations: 55.89 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.1235, allocations: 11.98 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.1236, allocations: 15.94 kB / 442.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1237, allocations: 19.86 kB / 442.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1238, allocations: 4 kB / 442.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1239, allocations: 43.91 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.124, allocations: 11.94 kB / 442.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.1241, allocations: 23.81 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.1244, allocations: 75.78 kB / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1244, allocations: 0 / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1244, allocations: 0 / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1244, allocations: 0 / 442.9 MB, free: 4.523 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007775/0.1252, allocations: 383.1 kB / 443.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/0.1253, allocations: 15.89 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.1253, allocations: 30.75 kB / 443.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.1254, allocations: 12.84 kB / 443.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1257, allocations: 193.3 kB / 443.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1257, allocations: 4.312 kB / 443.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.1258, allocations: 8.375 kB / 443.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.126, allocations: 53.59 kB / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.126, allocations: 4 kB / 443.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1261, allocations: 0 / 443.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1261, allocations: 0 / 443.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1262, allocations: 19.98 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.1266, allocations: 284.8 kB / 443.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.1269, allocations: 38.56 kB / 443.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1269, allocations: 20.94 kB / 443.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.127, allocations: 0 / 443.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.127, allocations: 38.5 kB / 444 MB, free: 3.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.127, allocations: 0 / 444 MB, free: 3.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006146/0.1276, allocations: 137.3 kB / 444.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1277, allocations: 51.41 kB / 444.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1278, allocations: 172.9 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.1279, allocations: 25.7 kB / 444.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.1279, allocations: 100.1 kB / 444.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1279, allocations: 19.75 kB / 444.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.128, allocations: 13.72 kB / 444.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.128, allocations: 322.8 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.1281, allocations: 19.98 kB / 444.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.1281, allocations: 23.92 kB / 444.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1283, allocations: 49.02 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1283, allocations: 4 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001506/0.1284, allocations: 77.58 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1285, allocations: 8 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1285, allocations: 0 / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1285, allocations: 0 / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.1285, allocations: 11.98 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1286, allocations: 0 / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.1286, allocations: 8 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1286, allocations: 7.875 kB / 445 MB, free: 2.18 MB / 318.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 6.041e-05/0.1287, allocations: 125.8 kB / 445.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1287, allocations: 7.906 kB / 445.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.1289, allocations: 93.91 kB / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1289, allocations: 0 / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1289, allocations: 0 / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1289, allocations: 4 kB / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.1293, allocations: 350.3 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1293, allocations: 4 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.1293, allocations: 11.98 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1293, allocations: 192 / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1293, allocations: 4 kB / 445.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1294, allocations: 3.938 kB / 445.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1294, allocations: 4 kB / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.1295, allocations: 183.4 kB / 445.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.1296, allocations: 85.02 kB / 445.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1296, allocations: 0 / 445.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.1296, allocations: 11.92 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.1297, allocations: 4 kB / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1297, allocations: 0 / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.302e-05/0.1298, allocations: 131.2 kB / 446 MB, free: 1.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1298, allocations: 3.938 kB / 446 MB, free: 1.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.13, allocations: 12 kB / 446 MB, free: 1.059 MB / 318.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.001187/0.1312, allocations: 1.003 MB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1314, allocations: 51.91 kB / 447.1 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1314, allocations: 0 / 447.1 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.1315, allocations: 23.98 kB / 447.1 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.1319, allocations: 33.81 kB / 447.1 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1336, allocations: 1.464 MB / 448.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.134, allocations: 0.6924 MB / 449.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.554e-05/0.1341, allocations: 4 kB / 449.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.1341, allocations: 27.42 kB / 449.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1341, allocations: 0 / 449.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.1552, allocations: 2.482 MB / 451.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.364, allocations: 19.39 kB / 451.8 MB, free: 11.2 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches