Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2291/0.2291, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.5825, allocations: 86.35 MB / 0.5631 GB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.5828, allocations: 72.41 kB / 0.5631 GB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009201/0.592, allocations: 3.615 MB / 0.5667 GB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.592, allocations: 4 kB / 0.5667 GB, free: 10.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.5921, allocations: 0 / 0.5667 GB, free: 10.32 MB / 378.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.0005137/0.5926, allocations: 382.5 kB / 0.567 GB, free: 9.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.5927, allocations: 16.02 kB / 0.5671 GB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.5927, allocations: 11.09 kB / 0.5671 GB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.593, allocations: 193.8 kB / 0.5673 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.593, allocations: 0 / 0.5673 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.593, allocations: 0 / 0.5673 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.5932, allocations: 56.56 kB / 0.5673 GB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5932, allocations: 0 / 0.5673 GB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.5932, allocations: 4 kB / 0.5673 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.5933, allocations: 0 / 0.5673 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.5934, allocations: 27.34 kB / 0.5673 GB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.5938, allocations: 285.4 kB / 0.5676 GB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.5941, allocations: 49.19 kB / 0.5677 GB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.5941, allocations: 0 / 0.5677 GB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5941, allocations: 34.5 kB / 0.5677 GB, free: 9.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.5942, allocations: 0 / 0.5677 GB, free: 9.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005993/0.5948, allocations: 165.9 kB / 0.5679 GB, free: 9.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.5948, allocations: 51.41 kB / 0.5679 GB, free: 8.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.595, allocations: 152.6 kB / 0.568 GB, free: 8.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.595, allocations: 25.7 kB / 0.5681 GB, free: 8.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.5951, allocations: 95.33 kB / 0.5682 GB, free: 8.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.5951, allocations: 19.73 kB / 0.5682 GB, free: 8.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5951, allocations: 3.312 kB / 0.5682 GB, free: 8.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5953, allocations: 322 kB / 0.5685 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.5954, allocations: 17.23 kB / 0.5685 GB, free: 8.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.5954, allocations: 26.92 kB / 0.5685 GB, free: 8.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.133e-05/0.5955, allocations: 20.88 kB / 0.5686 GB, free: 8.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.5955, allocations: 3.938 kB / 0.5686 GB, free: 8.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.5957, allocations: 99.19 kB / 0.5686 GB, free: 8.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5957, allocations: 4 kB / 0.5687 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5957, allocations: 0 / 0.5687 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5958, allocations: 3.953 kB / 0.5687 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.5958, allocations: 12 kB / 0.5687 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5958, allocations: 0 / 0.5687 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.5959, allocations: 12.86 kB / 0.5687 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.5959, allocations: 0.5625 kB / 0.5687 GB, free: 8.168 MB / 378.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 (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 9.19e-05/0.596, allocations: 122.2 kB / 0.5688 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.596, allocations: 7.906 kB / 0.5688 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.5963, allocations: 100.3 kB / 0.5689 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5963, allocations: 4 kB / 0.5689 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.5963, allocations: 7.953 kB / 0.5689 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5963, allocations: 3.984 kB / 0.5689 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.5968, allocations: 360.5 kB / 0.5693 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5968, allocations: 0 / 0.5693 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.5968, allocations: 12 kB / 0.5693 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5969, allocations: 4 kB / 0.5693 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.5969, allocations: 3.953 kB / 0.5693 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5969, allocations: 0 / 0.5693 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5969, allocations: 3.938 kB / 0.5693 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.5971, allocations: 192.1 kB / 0.5695 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.5972, allocations: 85.02 kB / 0.5695 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.5972, allocations: 12.05 kB / 0.5696 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5973, allocations: 11.27 kB / 0.5696 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.5974, allocations: 0 / 0.5696 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.5974, allocations: 7.984 kB / 0.5696 GB, free: 7.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.846e-05/0.5975, allocations: 128.1 kB / 0.5697 GB, free: 7.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5975, allocations: 3.938 kB / 0.5697 GB, free: 7.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.5978, allocations: 19.69 kB / 0.5697 GB, free: 7.078 MB / 378.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 () * 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 (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.0009439/0.5987, allocations: 407 kB / 0.5701 GB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.5989, allocations: 54.47 kB / 0.5702 GB, free: 6.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5989, allocations: 0 / 0.5702 GB, free: 6.684 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.599, allocations: 27.55 kB / 0.5702 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.5992, allocations: 15.73 kB / 0.5702 GB, free: 6.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.5996, allocations: 200.8 kB / 0.5704 GB, free: 6.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.6, allocations: 0.6965 MB / 0.5711 GB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.6, allocations: 20.09 kB / 0.5711 GB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.6001, allocations: 19.31 kB / 0.5711 GB, free: 5.668 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6001, allocations: 0 / 0.5711 GB, free: 5.668 MB / 378.7 MB Notification: Performance of Templates: time 0.003243/0.6033, allocations: 1.066 MB / 0.5722 GB, free: 4.617 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches