Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",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.001055/0.001055, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.399/1.399, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.3227/0.3227, allocations: 43.5 MB / 313.5 MB, free: 8.285 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.001327/0.001327, allocations: 67.89 kB / 382.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 57.78 MB / 439.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.00272/0.1168, allocations: 1.622 MB / 441.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1181, allocations: 0.9219 MB / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.1181, allocations: 0 / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1183, allocations: 23.92 kB / 442.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1185, allocations: 31.91 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1187, allocations: 87.83 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1188, allocations: 51.91 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.38e-05/0.1189, allocations: 20.14 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.119, allocations: 19.86 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1191, allocations: 27.91 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1192, allocations: 3.938 kB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.1193, allocations: 51.98 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.1193, allocations: 11.97 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.1194, allocations: 19.88 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1195, allocations: 83.72 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1195, allocations: 0 / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1195, allocations: 0 / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1196, allocations: 0 / 442.9 MB, free: 11.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004794/0.12, allocations: 391.2 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1201, allocations: 8.031 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1201, allocations: 38.75 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.1202, allocations: 4.938 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1204, allocations: 192.1 kB / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1204, allocations: 4.375 kB / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1204, allocations: 4.375 kB / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1206, allocations: 67.33 kB / 443.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1206, allocations: 3.938 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1206, allocations: 0 / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1206, allocations: 4 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.1207, allocations: 27.97 kB / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.1211, allocations: 272.9 kB / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1213, allocations: 50.48 kB / 443.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.1213, allocations: 16.86 kB / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1214, allocations: 4 kB / 443.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1214, allocations: 34.64 kB / 444 MB, free: 10.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1214, allocations: 0 / 444 MB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005488/0.1219, allocations: 141.4 kB / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.122, allocations: 77.11 kB / 444.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1221, allocations: 137.8 kB / 444.3 MB, free: 9.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1222, allocations: 29.7 kB / 444.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.1222, allocations: 96.03 kB / 444.4 MB, free: 9.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1222, allocations: 11.81 kB / 444.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1223, allocations: 17.72 kB / 444.5 MB, free: 9.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1224, allocations: 326.8 kB / 444.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.1225, allocations: 15.98 kB / 444.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.1225, allocations: 37.7 kB / 444.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1227, allocations: 56.81 kB / 444.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1227, allocations: 0 / 444.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001782/0.1229, allocations: 89.45 kB / 445 MB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1229, allocations: 7.938 kB / 445 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1229, allocations: 0 / 445 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1229, allocations: 4.031 kB / 445 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.123, allocations: 15.98 kB / 445 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.123, allocations: 256 / 445 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.123, allocations: 4 kB / 445 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1231, allocations: 7.938 kB / 445 MB, free: 9.133 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 (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 7.999e-05/0.1231, allocations: 121.8 kB / 445.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1232, allocations: 4 kB / 445.2 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.1234, allocations: 105.5 kB / 445.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1234, allocations: 0 / 445.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1234, allocations: 0 / 445.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1234, allocations: 3.984 kB / 445.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.1238, allocations: 354.5 kB / 445.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1238, allocations: 0 / 445.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.1239, allocations: 11.94 kB / 445.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1239, allocations: 4 kB / 445.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1239, allocations: 4 kB / 445.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1239, allocations: 3.938 kB / 445.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1239, allocations: 3.984 kB / 445.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1241, allocations: 175.4 kB / 445.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.1242, allocations: 81.11 kB / 445.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1242, allocations: 3.984 kB / 445.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.1243, allocations: 11.94 kB / 445.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1243, allocations: 3.984 kB / 445.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1243, allocations: 4 kB / 445.9 MB, free: 8.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.1244, allocations: 103.3 kB / 446 MB, free: 8.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1244, allocations: 0 / 446 MB, free: 8.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1246, allocations: 20 kB / 446 MB, free: 8.031 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 (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.001284/0.1259, allocations: 1.064 MB / 447.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1261, allocations: 55.95 kB / 447.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1261, allocations: 4 kB / 447.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.1262, allocations: 31.86 kB / 447.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1266, allocations: 23.78 kB / 447.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.128, allocations: 1.417 MB / 448.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1283, allocations: 0.6887 MB / 449.3 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.322e-05/0.1284, allocations: 11.98 kB / 449.3 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.1284, allocations: 27.42 kB / 449.3 MB, free: 4.613 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1284, allocations: 3.938 kB / 449.4 MB, free: 4.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.1422, allocations: 2.528 MB / 451.9 MB, free: 2.059 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.1425, allocations: 232.7 kB / 452.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.884, allocations: 0 / 452.1 MB, free: 1.805 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches