Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 179.6 kB / 16.76 MB, free: 4.93 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.688/1.688, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007632/0.0007631, allocations: 98.33 kB / 271.3 MB, free: 8.227 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.4117/0.4117, allocations: 43.55 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5702, allocations: 87.76 MB / 0.5657 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.5706, allocations: 75.95 kB / 0.5657 GB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01943/0.59, allocations: 5.512 MB / 0.5711 GB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5901, allocations: 0 / 0.5711 GB, free: 8.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.5901, allocations: 4 kB / 0.5711 GB, free: 8.703 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005508/0.5907, allocations: 425.9 kB / 0.5715 GB, free: 8.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5907, allocations: 8.031 kB / 0.5715 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.5908, allocations: 16.75 kB / 0.5715 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.5911, allocations: 229 kB / 0.5718 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.5912, allocations: 384 / 0.5718 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.5912, allocations: 4.375 kB / 0.5718 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.5914, allocations: 54.23 kB / 0.5718 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5914, allocations: 192 / 0.5718 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5914, allocations: 3.938 kB / 0.5718 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5914, allocations: 4 kB / 0.5718 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.5915, allocations: 27.91 kB / 0.5719 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.592, allocations: 296.9 kB / 0.5721 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.5922, allocations: 62.61 kB / 0.5722 GB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.5923, allocations: 20.86 kB / 0.5722 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.5923, allocations: 0 / 0.5722 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.5925, allocations: 80.19 kB / 0.5723 GB, free: 7.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.552e-06/0.5925, allocations: 0 / 0.5723 GB, free: 7.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006431/0.5931, allocations: 185.4 kB / 0.5725 GB, free: 7.145 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.5932, allocations: 55.41 kB / 0.5725 GB, free: 7.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.5935, allocations: 208.6 kB / 0.5727 GB, free: 6.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.5935, allocations: 29.7 kB / 0.5728 GB, free: 6.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.5936, allocations: 112 kB / 0.5729 GB, free: 6.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.5937, allocations: 15.72 kB / 0.5729 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.5937, allocations: 12 kB / 0.5729 GB, free: 6.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5938, allocations: 326.8 kB / 0.5732 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.5939, allocations: 19.98 kB / 0.5732 GB, free: 6.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.594, allocations: 37.7 kB / 0.5733 GB, free: 6.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.5942, allocations: 62.39 kB / 0.5733 GB, free: 6.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.5942, allocations: 0 / 0.5733 GB, free: 6.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002504/0.5945, allocations: 101.6 kB / 0.5734 GB, free: 6.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5945, allocations: 4 kB / 0.5734 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5945, allocations: 4 kB / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5945, allocations: 3.938 kB / 0.5734 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.5946, allocations: 12 kB / 0.5734 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5947, allocations: 0 / 0.5734 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.5947, allocations: 12.17 kB / 0.5734 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.5948, allocations: 4 kB / 0.5734 GB, free: 6.09 MB / 394.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 (10): * Single equations (assignments): 10 * 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 0.000142/0.5949, allocations: 143.1 kB / 0.5736 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.5949, allocations: 11.81 kB / 0.5736 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.5953, allocations: 119 kB / 0.5737 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5953, allocations: 0 / 0.5737 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5953, allocations: 4 kB / 0.5737 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.5953, allocations: 0 / 0.5737 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.5959, allocations: 419.2 kB / 0.5741 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5959, allocations: 4.031 kB / 0.5741 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.596, allocations: 8 kB / 0.5741 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.596, allocations: 3.938 kB / 0.5741 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.596, allocations: 7.938 kB / 0.5741 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.596, allocations: 0 / 0.5741 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.596, allocations: 3.938 kB / 0.5741 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.5964, allocations: 216.1 kB / 0.5743 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.5965, allocations: 93.02 kB / 0.5744 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.5965, allocations: 11.98 kB / 0.5744 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5966, allocations: 0 / 0.5744 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.5967, allocations: 11.92 kB / 0.5745 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5967, allocations: 4 kB / 0.5745 GB, free: 4.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.5969, allocations: 156.2 kB / 0.5746 GB, free: 4.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5969, allocations: 0 / 0.5746 GB, free: 4.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004204/0.5974, allocations: 39.92 kB / 0.5746 GB, free: 4.75 MB / 394.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: 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 (9): * Single equations (assignments): 7 * 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.001369/0.5987, allocations: 488.5 kB / 0.5751 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.599, allocations: 55.91 kB / 0.5752 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.599, allocations: 4.062 kB / 0.5752 GB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.783e-05/0.5991, allocations: 35.92 kB / 0.5752 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.5996, allocations: 35.97 kB / 0.5752 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.6003, allocations: 269.6 kB / 0.5755 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.6006, allocations: 0.7082 MB / 0.5762 GB, free: 3.215 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.326e-05/0.6007, allocations: 18.03 kB / 0.5762 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.6008, allocations: 23.42 kB / 0.5762 GB, free: 3.176 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6008, allocations: 0 / 0.5762 GB, free: 3.176 MB / 394.7 MB Notification: Performance of Templates: time 0.005549/0.6064, allocations: 1.737 MB / 0.5779 GB, free: 1.457 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches