Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009676/0.0009675, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 82.62 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2098/0.2098, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.412e-05, allocations: 4 kB / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4776, allocations: 85.87 MB / 0.5498 GB, free: 8.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4779, allocations: 81.3 kB / 0.5499 GB, free: 8.766 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009143/0.4871, allocations: 3.994 MB / 0.5538 GB, free: 5.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4871, allocations: 0 / 0.5538 GB, free: 5.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4871, allocations: 0 / 0.5538 GB, free: 5.773 MB / 362.7 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.0002753/0.4874, allocations: 362 kB / 0.5541 GB, free: 5.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4875, allocations: 8.031 kB / 0.5541 GB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.4875, allocations: 7.906 kB / 0.5541 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.4877, allocations: 188.7 kB / 0.5543 GB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4877, allocations: 4 kB / 0.5543 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.4877, allocations: 0 / 0.5543 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.068e-05/0.4878, allocations: 15.25 kB / 0.5543 GB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.739e-05/0.4879, allocations: 58.7 kB / 0.5544 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4879, allocations: 0 / 0.5544 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4879, allocations: 0 / 0.5544 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.4879, allocations: 4 kB / 0.5544 GB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.4882, allocations: 258 kB / 0.5546 GB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.4884, allocations: 33.2 kB / 0.5547 GB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.4884, allocations: 12.36 kB / 0.5547 GB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4885, allocations: 4.078 kB / 0.5547 GB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.4885, allocations: 34.5 kB / 0.5547 GB, free: 4.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4885, allocations: 0 / 0.5547 GB, free: 4.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003862/0.4889, allocations: 92.27 kB / 0.5548 GB, free: 4.605 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.4889, allocations: 85.11 kB / 0.5549 GB, free: 4.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.489, allocations: 119.6 kB / 0.555 GB, free: 4.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.489, allocations: 25.7 kB / 0.555 GB, free: 4.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.4891, allocations: 99.06 kB / 0.5551 GB, free: 4.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.4891, allocations: 23.5 kB / 0.5551 GB, free: 4.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.4891, allocations: 0 / 0.5551 GB, free: 4.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.4892, allocations: 315 kB / 0.5554 GB, free: 3.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.4892, allocations: 6.938 kB / 0.5554 GB, free: 3.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.4892, allocations: 29.64 kB / 0.5555 GB, free: 3.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.4893, allocations: 7.938 kB / 0.5555 GB, free: 3.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4893, allocations: 0 / 0.5555 GB, free: 3.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.469e-05/0.4893, allocations: 60.41 kB / 0.5555 GB, free: 3.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4894, allocations: 4 kB / 0.5555 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4894, allocations: 0 / 0.5555 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4894, allocations: 4 kB / 0.5555 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.4895, allocations: 11.98 kB / 0.5556 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4895, allocations: 8.281 kB / 0.5556 GB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.4895, allocations: 7.812 kB / 0.5556 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.4895, allocations: 7.938 kB / 0.5556 GB, free: 3.793 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.4896, allocations: 108.9 kB / 0.5557 GB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.4896, allocations: 3.906 kB / 0.5557 GB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.4897, allocations: 68.27 kB / 0.5558 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4898, allocations: 0 / 0.5558 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4898, allocations: 4 kB / 0.5558 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4898, allocations: 0 / 0.5558 GB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.49, allocations: 303.1 kB / 0.556 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.49, allocations: 0 / 0.556 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.4901, allocations: 12 kB / 0.5561 GB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4901, allocations: 3.984 kB / 0.5561 GB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4901, allocations: 0 / 0.5561 GB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4901, allocations: 0 / 0.5561 GB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4901, allocations: 0 / 0.5561 GB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.099e-05/0.4902, allocations: 166.3 kB / 0.5562 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.4902, allocations: 88.45 kB / 0.5563 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.4902, allocations: 0 / 0.5563 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.4903, allocations: 7.984 kB / 0.5563 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.4904, allocations: 7.938 kB / 0.5563 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4904, allocations: 0 / 0.5563 GB, free: 2.988 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.4904, allocations: 114 kB / 0.5564 GB, free: 2.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4904, allocations: 0 / 0.5564 GB, free: 2.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.4907, allocations: 23.75 kB / 0.5564 GB, free: 2.863 MB / 362.7 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 () * 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 (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.0007267/0.4914, allocations: 379.6 kB / 0.5568 GB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.661e-05/0.4915, allocations: 27.42 kB / 0.5568 GB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4915, allocations: 4 kB / 0.5568 GB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.4915, allocations: 15.25 kB / 0.5569 GB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.4917, allocations: 15.95 kB / 0.5569 GB, free: 2.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.4919, allocations: 91.17 kB / 0.557 GB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.4921, allocations: 0.6963 MB / 0.5576 GB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.899e-05/0.4921, allocations: 12.17 kB / 0.5576 GB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.4922, allocations: 15.31 kB / 0.5577 GB, free: 1.645 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4922, allocations: 0 / 0.5577 GB, free: 1.645 MB / 362.7 MB Notification: Performance of Templates: time 0.00318/0.4954, allocations: 1.24 MB / 0.5589 GB, free: 432 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches