Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.0007157/0.0007159, allocations: 95.08 kB / 17.35 MB, free: 6.371 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.0007168/0.0007168, allocations: 172.8 kB / 18.25 MB, free: 5.523 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.179/1.179, allocations: 223.3 MB / 242.3 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1762/0.1762, allocations: 44.24 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 8.281 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09451, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.001686/0.09623, allocations: 1.278 MB / 473.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.09747, allocations: 0.9805 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.09751, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.09771, allocations: 15.92 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.09785, allocations: 35.84 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.09808, allocations: 78.17 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.09821, allocations: 55.84 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.09832, allocations: 19.97 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.09836, allocations: 15.88 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.0985, allocations: 31.83 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.09853, allocations: 4 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.09862, allocations: 39.98 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.09867, allocations: 11.94 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.09872, allocations: 49.55 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.09887, allocations: 80.06 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.09889, allocations: 8 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.0989, allocations: 0 / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.0989, allocations: 0 / 475.1 MB, free: 10.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004059/0.09931, allocations: 367.3 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.09936, allocations: 12.03 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.0994, allocations: 34.75 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.09944, allocations: 4.938 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.09959, allocations: 188.2 kB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.09961, allocations: 4.375 kB / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.09963, allocations: 4.375 kB / 475.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.09978, allocations: 71.34 kB / 475.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.0998, allocations: 3.906 kB / 475.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.09981, allocations: 3.938 kB / 475.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.09982, allocations: 7.922 kB / 475.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.885e-05/0.09992, allocations: 31.97 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.1002, allocations: 268.9 kB / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1004, allocations: 38.56 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.1004, allocations: 20.88 kB / 476.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1005, allocations: 8 kB / 476.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1005, allocations: 34.56 kB / 476.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1005, allocations: 0 / 476.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004918/0.101, allocations: 149.4 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.101, allocations: 77.11 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1012, allocations: 141.8 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1012, allocations: 25.7 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.1012, allocations: 104 kB / 476.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1013, allocations: 7.812 kB / 476.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.1013, allocations: 13.72 kB / 476.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.1014, allocations: 326.8 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.1015, allocations: 23.98 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.1015, allocations: 33.7 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1017, allocations: 56.86 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1017, allocations: 4 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001683/0.1019, allocations: 89.45 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1019, allocations: 8 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.1019, allocations: 0 / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1019, allocations: 4 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.102, allocations: 11.98 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.102, allocations: 4 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.102, allocations: 4 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.102, allocations: 3.938 kB / 477.2 MB, free: 8.109 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 (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.97e-05/0.1021, allocations: 121.8 kB / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1022, allocations: 4 kB / 477.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.1024, allocations: 97.88 kB / 477.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1024, allocations: 4 kB / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1024, allocations: 0 / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1024, allocations: 4 kB / 477.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.1028, allocations: 354.4 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1028, allocations: 0 / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.1028, allocations: 23.92 kB / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1028, allocations: 0 / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1029, allocations: 8 kB / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1029, allocations: 3.938 kB / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1029, allocations: 0 / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.1031, allocations: 179.5 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.1031, allocations: 81.02 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1031, allocations: 4 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.1032, allocations: 19.92 kB / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.1033, allocations: 0 / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1033, allocations: 4 kB / 478.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.671e-05/0.1033, allocations: 106.2 kB / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1033, allocations: 0 / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1036, allocations: 20 kB / 478.2 MB, free: 6.992 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 (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.001215/0.1048, allocations: 1.069 MB / 479.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.105, allocations: 51.97 kB / 479.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.105, allocations: 0 / 479.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.1051, allocations: 35.92 kB / 479.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1054, allocations: 22.11 kB / 479.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1067, allocations: 1.408 MB / 480.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.1069, allocations: 0.6887 MB / 481.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.1069, allocations: 15.98 kB / 481.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.107, allocations: 27.42 kB / 481.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.107, allocations: 3.938 kB / 481.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.12, allocations: 2.3 MB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.1202, allocations: 248.2 kB / 484.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.715, allocations: 64 / 484.1 MB, free: 1.27 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches