Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 94.36 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1772/0.1772, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.802e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3887/0.5118, allocations: 88.37 MB / 0.581 GB, free: 8.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.512, allocations: 71.97 kB / 0.5811 GB, free: 8.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01493/0.527, allocations: 5.695 MB / 0.5866 GB, free: 2.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.527, allocations: 0 / 0.5866 GB, free: 2.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.5271, allocations: 0 / 0.5866 GB, free: 2.398 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005585/0.5276, allocations: 402.9 kB / 0.587 GB, free: 1.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.5277, allocations: 11.98 kB / 0.587 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.5277, allocations: 15.81 kB / 0.587 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.5281, allocations: 226.3 kB / 0.5872 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.5282, allocations: 12 kB / 0.5873 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.5282, allocations: 3.953 kB / 0.5873 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.629e-05/0.5283, allocations: 8 kB / 0.5873 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/0.5284, allocations: 49.67 kB / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5284, allocations: 7.922 kB / 0.5873 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5284, allocations: 4 kB / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5284, allocations: 0 / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.5286, allocations: 170.2 kB / 0.5875 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.5287, allocations: 46.64 kB / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.5288, allocations: 20.94 kB / 0.5876 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.5288, allocations: 0 / 0.5876 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.5289, allocations: 67.3 kB / 0.5876 GB, free: 1.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.5289, allocations: 0 / 0.5876 GB, free: 1.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002215/0.5292, allocations: 85.42 kB / 0.5877 GB, free: 1.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.5292, allocations: 55.41 kB / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.5295, allocations: 222.1 kB / 0.588 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.5295, allocations: 29.7 kB / 0.588 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.5296, allocations: 108.1 kB / 0.5881 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.5296, allocations: 15.81 kB / 0.5881 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.5296, allocations: 0 / 0.5881 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5298, allocations: 326.8 kB / 0.5884 GB, free: 360 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.5298, allocations: 12 kB / 0.5884 GB, free: 348 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.5298, allocations: 29.72 kB / 0.5885 GB, free: 312 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.5299, allocations: 15.98 kB / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5299, allocations: 0 / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000115/0.53, allocations: 73.53 kB / 0.5885 GB, free: 216 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.53, allocations: 9.406 kB / 0.5886 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5301, allocations: 0 / 0.5886 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5301, allocations: 3.953 kB / 0.5886 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.5302, allocations: 16.12 kB / 0.5886 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5302, allocations: 4 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.5302, allocations: 15.86 kB / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.5303, allocations: 4 kB / 0.5886 GB, free: 164 kB / 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 () * 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 7.575e-05/0.5303, allocations: 101 kB / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.5304, allocations: 11.91 kB / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.5306, allocations: 95.28 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5306, allocations: 0 / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5306, allocations: 3.953 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5306, allocations: 3.938 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.5308, allocations: 186.1 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5308, allocations: 4 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.5308, allocations: 8 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5308, allocations: 0 / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.5308, allocations: 0 / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5308, allocations: 0 / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5308, allocations: 0 / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.531, allocations: 116.8 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.5311, allocations: 108.8 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.5311, allocations: 4 kB / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/0.5312, allocations: 4 kB / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.5312, allocations: 0 / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5312, allocations: 7.984 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.5314, allocations: 188.2 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5314, allocations: 0 / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.5316, allocations: 24 kB / 0.5894 GB, free: 15.22 MB / 410.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) * 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.0008295/0.5325, allocations: 348.1 kB / 0.5898 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.5326, allocations: 39.88 kB / 0.5898 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5326, allocations: 4 kB / 0.5898 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.5327, allocations: 19.98 kB / 0.5898 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.5329, allocations: 29.33 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.5333, allocations: 205.2 kB / 0.59 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.5337, allocations: 0.7197 MB / 0.5907 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.5337, allocations: 16.42 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5338, allocations: 15.44 kB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5338, allocations: 0 / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of Templates: time 0.004204/0.538, allocations: 1.534 MB / 0.5923 GB, free: 12.32 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches