Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",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.00676/0.006759, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001421/0.001421, allocations: 193.8 kB / 16.79 MB, free: 6.238 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.407/1.407, allocations: 205.1 MB / 222.6 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3153/0.3153, allocations: 43.49 MB / 313.5 MB, free: 8.609 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.001436/0.001437, allocations: 67.91 kB / 382.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1088, allocations: 57.79 MB / 439.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.003127/0.112, allocations: 1.629 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000669/0.1127, allocations: 339.6 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.1127, allocations: 3.938 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.113, allocations: 23.92 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1131, allocations: 27.91 kB / 441.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.1134, allocations: 87.83 kB / 442 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1135, allocations: 59.83 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1136, allocations: 20.45 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.1137, allocations: 19.86 kB / 442.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.1137, allocations: 23.86 kB / 442.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1138, allocations: 0 / 442.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1139, allocations: 51.97 kB / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.1139, allocations: 15.92 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.114, allocations: 15.88 kB / 442.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1141, allocations: 95.7 kB / 442.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1142, allocations: 0 / 442.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.1142, allocations: 3.984 kB / 442.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1142, allocations: 7.938 kB / 442.3 MB, free: 12.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004345/0.1146, allocations: 371.3 kB / 442.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1147, allocations: 12.03 kB / 442.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.1147, allocations: 38.67 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.1147, allocations: 12.78 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1149, allocations: 184.2 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1149, allocations: 4.375 kB / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.115, allocations: 8.125 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1151, allocations: 75.33 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1151, allocations: 0 / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1152, allocations: 0 / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1152, allocations: 0 / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.1153, allocations: 31.95 kB / 443.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.1157, allocations: 292.9 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.1158, allocations: 42.5 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.1158, allocations: 20.94 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1158, allocations: 0 / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1159, allocations: 34.56 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1159, allocations: 0 / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005733/0.1165, allocations: 165.2 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1165, allocations: 77.11 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1167, allocations: 133.8 kB / 443.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1167, allocations: 25.7 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.1167, allocations: 88.14 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1168, allocations: 19.7 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.1168, allocations: 21.72 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1169, allocations: 326.8 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.117, allocations: 19.98 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.1171, allocations: 37.69 kB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1173, allocations: 56.83 kB / 444.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1173, allocations: 0 / 444.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001824/0.1174, allocations: 89.89 kB / 444.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1175, allocations: 11.98 kB / 444.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1175, allocations: 4 kB / 444.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1175, allocations: 0 / 444.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.1176, allocations: 12 kB / 444.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1176, allocations: 0 / 444.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.1177, allocations: 11.92 kB / 444.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1177, allocations: 3.938 kB / 444.5 MB, free: 9.848 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 (6): * Single equations (assignments): 6 * 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.867e-05/0.1178, allocations: 121.8 kB / 444.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1178, allocations: 7.906 kB / 444.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.118, allocations: 106 kB / 444.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.1181, allocations: 4 kB / 444.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1181, allocations: 0 / 444.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1181, allocations: 3.938 kB / 444.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.1185, allocations: 362.5 kB / 445.1 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1185, allocations: 3.938 kB / 445.1 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.1186, allocations: 15.98 kB / 445.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1186, allocations: 4 kB / 445.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1186, allocations: 3.938 kB / 445.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1186, allocations: 0 / 445.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1186, allocations: 0 / 445.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1189, allocations: 187.4 kB / 445.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.1189, allocations: 85.02 kB / 445.4 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1189, allocations: 4.125 kB / 445.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.119, allocations: 11.98 kB / 445.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.119, allocations: 4 kB / 445.4 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1191, allocations: 0 / 445.4 MB, free: 8.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.1191, allocations: 115.7 kB / 445.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1191, allocations: 0 / 445.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1194, allocations: 24 kB / 445.6 MB, free: 8.699 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 (6): * Single equations (assignments): 6 * 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.001364/0.1208, allocations: 1.063 MB / 446.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.121, allocations: 59.83 kB / 446.7 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.121, allocations: 4 kB / 446.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.1211, allocations: 27.98 kB / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1214, allocations: 15.98 kB / 446.7 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1229, allocations: 1.431 MB / 448.2 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1232, allocations: 0.6965 MB / 448.9 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.656e-05/0.1232, allocations: 15.98 kB / 448.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.1233, allocations: 27.36 kB / 448.9 MB, free: 5.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1233, allocations: 0 / 448.9 MB, free: 5.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.1367, allocations: 2.645 MB / 451.5 MB, free: 2.602 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.137, allocations: 253.9 kB / 451.8 MB, free: 2.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.847, allocations: 0 / 451.8 MB, free: 2.34 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches