Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001058, allocations: 183.6 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.775/1.775, 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.0008522/0.0008523, allocations: 94.86 kB / 270.2 MB, free: 13.37 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.2419/0.2419, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005237, allocations: 8 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1842, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3861/0.5703, allocations: 87.51 MB / 0.5642 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5706, allocations: 73.97 kB / 0.5643 GB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.5845, allocations: 5.165 MB / 0.5693 GB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5845, allocations: 4 kB / 0.5693 GB, free: 7.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.5846, allocations: 0 / 0.5693 GB, free: 7.867 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000504/0.5851, allocations: 409.7 kB / 0.5697 GB, free: 7.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5851, allocations: 16.03 kB / 0.5697 GB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.5852, allocations: 7.906 kB / 0.5698 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.5855, allocations: 217.5 kB / 0.57 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5855, allocations: 7.562 kB / 0.57 GB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.5855, allocations: 0 / 0.57 GB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.5857, allocations: 48.86 kB / 0.57 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5857, allocations: 0 / 0.57 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5857, allocations: 0 / 0.57 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.5857, allocations: 0 / 0.57 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.199e-05/0.5858, allocations: 22.86 kB / 0.57 GB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.586, allocations: 187.2 kB / 0.5702 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.5862, allocations: 52.5 kB / 0.5703 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.5862, allocations: 3.938 kB / 0.5703 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.5864, allocations: 62.73 kB / 0.5703 GB, free: 6.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.5864, allocations: 4 kB / 0.5703 GB, free: 6.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002692/0.5866, allocations: 106.4 kB / 0.5704 GB, free: 6.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.5867, allocations: 51.41 kB / 0.5705 GB, free: 6.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.5869, allocations: 174 kB / 0.5707 GB, free: 6.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.5869, allocations: 25.7 kB / 0.5707 GB, free: 6.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.5869, allocations: 98.75 kB / 0.5708 GB, free: 6.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.587, allocations: 15.25 kB / 0.5708 GB, free: 6.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.587, allocations: 0 / 0.5708 GB, free: 6.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5871, allocations: 329.6 kB / 0.5711 GB, free: 5.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.5872, allocations: 19.36 kB / 0.5711 GB, free: 5.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.5873, allocations: 32.64 kB / 0.5711 GB, free: 5.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.645e-05/0.5873, allocations: 11.81 kB / 0.5712 GB, free: 5.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5873, allocations: 3.953 kB / 0.5712 GB, free: 5.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001455/0.5875, allocations: 87.45 kB / 0.5712 GB, free: 5.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5875, allocations: 4 kB / 0.5713 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5875, allocations: 4.031 kB / 0.5713 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5875, allocations: 0 / 0.5713 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.5876, allocations: 12 kB / 0.5713 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.5876, allocations: 0 / 0.5713 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.5877, allocations: 7.359 kB / 0.5713 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5877, allocations: 4 kB / 0.5713 GB, free: 5.809 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.775e-05/0.5878, allocations: 129 kB / 0.5714 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.5878, allocations: 19.75 kB / 0.5714 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.5881, allocations: 99.59 kB / 0.5715 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5881, allocations: 0 / 0.5715 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5881, allocations: 0 / 0.5715 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5881, allocations: 0 / 0.5715 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.5882, allocations: 194.2 kB / 0.5717 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5883, allocations: 0 / 0.5717 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.5883, allocations: 7.953 kB / 0.5717 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5883, allocations: 3.938 kB / 0.5717 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.5883, allocations: 3.312 kB / 0.5717 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5883, allocations: 3.984 kB / 0.5717 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5883, allocations: 4 kB / 0.5717 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.5886, allocations: 114.3 kB / 0.5718 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.5886, allocations: 92.92 kB / 0.5719 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.5887, allocations: 3.953 kB / 0.5719 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.5887, allocations: 11.42 kB / 0.5719 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.5888, allocations: 0 / 0.5719 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.5888, allocations: 4 kB / 0.5719 GB, free: 5.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.5889, allocations: 151.9 kB / 0.5721 GB, free: 4.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5889, allocations: 0 / 0.5721 GB, free: 4.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.5891, allocations: 19 kB / 0.5721 GB, free: 4.934 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009967/0.5901, allocations: 419.9 kB / 0.5725 GB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.5903, allocations: 46.97 kB / 0.5725 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5903, allocations: 0 / 0.5725 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.5904, allocations: 29.05 kB / 0.5726 GB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.5907, allocations: 24.8 kB / 0.5726 GB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.5912, allocations: 215.3 kB / 0.5728 GB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.5916, allocations: 0.7095 MB / 0.5735 GB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.5916, allocations: 16.98 kB / 0.5735 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.5917, allocations: 16.05 kB / 0.5735 GB, free: 3.508 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5917, allocations: 0 / 0.5735 GB, free: 3.508 MB / 378.7 MB Notification: Performance of Templates: time 0.004223/0.5959, allocations: 1.462 MB / 0.575 GB, free: 2.059 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches