Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 91.2 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2921/0.2921, allocations: 44.2 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.000286, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.37, allocations: 61.89 MB / 0.5095 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.4779, allocations: 88.07 MB / 0.5956 GB, free: 7.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.4781, allocations: 75.91 kB / 0.5956 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009805/0.4879, allocations: 4.19 MB / 0.5997 GB, free: 2.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.488, allocations: 0 / 0.5997 GB, free: 2.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.488, allocations: 4 kB / 0.5997 GB, free: 2.828 MB / 410.7 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.0003672/0.4884, allocations: 414.8 kB / 0.6001 GB, free: 2.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4884, allocations: 8.562 kB / 0.6001 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.4885, allocations: 11.91 kB / 0.6001 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.4887, allocations: 194.8 kB / 0.6003 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4887, allocations: 4 kB / 0.6003 GB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.4887, allocations: 4 kB / 0.6003 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.4888, allocations: 57.62 kB / 0.6004 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4889, allocations: 0 / 0.6004 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4889, allocations: 0 / 0.6004 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4889, allocations: 4 kB / 0.6004 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-05/0.489, allocations: 35.91 kB / 0.6004 GB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.4893, allocations: 300.7 kB / 0.6007 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.135e-05/0.4894, allocations: 42.56 kB / 0.6007 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4895, allocations: 4 kB / 0.6008 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4895, allocations: 34.5 kB / 0.6008 GB, free: 1.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4895, allocations: 0 / 0.6008 GB, free: 1.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008052/0.4903, allocations: 253.4 kB / 0.601 GB, free: 1.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.4903, allocations: 51.41 kB / 0.6011 GB, free: 1.258 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4905, allocations: 173.4 kB / 0.6012 GB, free: 1.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.4905, allocations: 25.7 kB / 0.6013 GB, free: 1.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.4906, allocations: 100.1 kB / 0.6014 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4906, allocations: 27.56 kB / 0.6014 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.4906, allocations: 0 / 0.6014 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.4907, allocations: 326.8 kB / 0.6017 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.4908, allocations: 31.97 kB / 0.6017 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.4909, allocations: 44.05 kB / 0.6018 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.178e-05/0.491, allocations: 27.98 kB / 0.6018 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.491, allocations: 0 / 0.6018 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001942/0.4912, allocations: 105.5 kB / 0.6019 GB, free: 392 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4912, allocations: 8 kB / 0.6019 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4912, allocations: 0 / 0.6019 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.4912, allocations: 0 / 0.6019 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.4913, allocations: 19.98 kB / 0.6019 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4913, allocations: 0 / 0.6019 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.4914, allocations: 15.98 kB / 0.6019 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.4914, allocations: 7.938 kB / 0.6019 GB, free: 340 kB / 410.7 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.4915, allocations: 121.8 kB / 0.6021 GB, free: 208 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.4915, allocations: 7.906 kB / 0.6021 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.4918, allocations: 130.3 kB / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4918, allocations: 4 kB / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4918, allocations: 0 / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.4918, allocations: 0 / 0.6022 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.4923, allocations: 427.2 kB / 0.6026 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4923, allocations: 0 / 0.6026 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.4924, allocations: 16 kB / 0.6026 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4924, allocations: 3.984 kB / 0.6026 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4924, allocations: 4 kB / 0.6026 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4924, allocations: 0 / 0.6026 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4924, allocations: 8 kB / 0.6026 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.4927, allocations: 230.3 kB / 0.6029 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.4927, allocations: 93.02 kB / 0.6029 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.4928, allocations: 0 / 0.6029 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.4928, allocations: 15.98 kB / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.4929, allocations: 3.953 kB / 0.603 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.4929, allocations: 8 kB / 0.603 GB, free: 15.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.493, allocations: 144.9 kB / 0.6031 GB, free: 15.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.493, allocations: 0 / 0.6031 GB, free: 15.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.4932, allocations: 39.83 kB / 0.6031 GB, free: 14.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009042/0.4941, allocations: 465.9 kB / 0.6036 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.4943, allocations: 75.88 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4944, allocations: 4 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.4944, allocations: 35.92 kB / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.4946, allocations: 19.56 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.4951, allocations: 254.1 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.4953, allocations: 0.7082 MB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.4954, allocations: 12.97 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.4954, allocations: 19.44 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4954, allocations: 3.938 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of Templates: time 0.00327/0.4987, allocations: 1.316 MB / 0.606 GB, free: 12.21 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches