Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002128/0.002133, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 95.62 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3128/0.3128, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.135e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4001, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.562, allocations: 85.68 MB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5624, allocations: 67.97 kB / 0.5496 GB, free: 13.55 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.5805, allocations: 4.197 MB / 0.5537 GB, free: 9.367 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5805, allocations: 0 / 0.5537 GB, free: 9.367 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.5806, allocations: 8 kB / 0.5538 GB, free: 9.359 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005267/0.5811, allocations: 386.2 kB / 0.5541 GB, free: 8.938 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5812, allocations: 8.031 kB / 0.5541 GB, free: 8.93 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.5812, allocations: 15.81 kB / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.5816, allocations: 214.7 kB / 0.5543 GB, free: 8.664 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5816, allocations: 4 kB / 0.5544 GB, free: 8.66 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.5817, allocations: 0 / 0.5544 GB, free: 8.66 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001177/0.5818, allocations: 23.98 kB / 0.5544 GB, free: 8.637 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.5819, allocations: 45.69 kB / 0.5544 GB, free: 8.586 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.582, allocations: 4 kB / 0.5544 GB, free: 8.582 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.582, allocations: 0 / 0.5544 GB, free: 8.582 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.582, allocations: 0 / 0.5544 GB, free: 8.582 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.5825, allocations: 289.2 kB / 0.5547 GB, free: 8.262 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.5826, allocations: 42.52 kB / 0.5547 GB, free: 8.211 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.5827, allocations: 20.98 kB / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.5827, allocations: 0 / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5828, allocations: 34.55 kB / 0.5548 GB, free: 8.145 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.5828, allocations: 0 / 0.5548 GB, free: 8.145 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006334/0.5834, allocations: 133.4 kB / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.5835, allocations: 59.39 kB / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.5839, allocations: 205.4 kB / 0.5552 GB, free: 7.727 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.5839, allocations: 25.7 kB / 0.5552 GB, free: 7.695 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.584, allocations: 170.5 kB / 0.5554 GB, free: 7.527 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.5841, allocations: 27.64 kB / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.5841, allocations: 0 / 0.5554 GB, free: 7.5 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5842, allocations: 311 kB / 0.5557 GB, free: 7.188 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.5843, allocations: 16 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.5843, allocations: 16.06 kB / 0.5557 GB, free: 7.156 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.201e-05/0.5844, allocations: 19.92 kB / 0.5557 GB, free: 7.137 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5844, allocations: 4 kB / 0.5557 GB, free: 7.133 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001849/0.5846, allocations: 73.59 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5847, allocations: 4 kB / 0.5558 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5847, allocations: 4.062 kB / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5847, allocations: 0 / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.5849, allocations: 19.98 kB / 0.5558 GB, free: 7.027 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.5849, allocations: 4 kB / 0.5558 GB, free: 7.023 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.585, allocations: 11.89 kB / 0.5558 GB, free: 7.012 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.585, allocations: 0 / 0.5558 GB, free: 7.012 MB / 395.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 () * 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 9.268e-05/0.5851, allocations: 113 kB / 0.556 GB, free: 6.895 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.5852, allocations: 11.84 kB / 0.556 GB, free: 6.883 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.5855, allocations: 103.4 kB / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5855, allocations: 0 / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.5855, allocations: 0 / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5855, allocations: 0 / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.5862, allocations: 371 kB / 0.5564 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5862, allocations: 0 / 0.5564 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.5863, allocations: 19.98 kB / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5864, allocations: 0 / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5864, allocations: 0 / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.5864, allocations: 400 / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5864, allocations: 0 / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.5867, allocations: 179.4 kB / 0.5566 GB, free: 6.16 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5868, allocations: 100.9 kB / 0.5567 GB, free: 6.043 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.5869, allocations: 4 kB / 0.5567 GB, free: 6.039 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.587, allocations: 7.984 kB / 0.5567 GB, free: 6.031 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.5871, allocations: 11.88 kB / 0.5567 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5871, allocations: 4 kB / 0.5567 GB, free: 6.016 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.5873, allocations: 164.2 kB / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5874, allocations: 4 kB / 0.5569 GB, free: 5.852 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00037/0.5877, allocations: 24 kB / 0.5569 GB, free: 5.828 MB / 395.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 () * 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.001012/0.5888, allocations: 342.1 kB / 0.5572 GB, free: 5.523 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.589, allocations: 40 kB / 0.5573 GB, free: 5.484 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.589, allocations: 0 / 0.5573 GB, free: 5.484 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.5891, allocations: 23.94 kB / 0.5573 GB, free: 5.461 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.5894, allocations: 15.84 kB / 0.5573 GB, free: 5.445 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/0.59, allocations: 229.9 kB / 0.5575 GB, free: 5.191 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.5904, allocations: 0.7119 MB / 0.5582 GB, free: 4.453 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.5905, allocations: 19.42 kB / 0.5582 GB, free: 4.434 MB / 395.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5905, allocations: 0 / 0.5582 GB, free: 4.434 MB / 395.1 MB Notification: Performance of Templates: time 0.005505/0.596, allocations: 1.766 MB / 0.56 GB, free: 2.672 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches