Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 221.3 MB / 236 MB, free: 2.984 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.0009239/0.0009235, allocations: 88.05 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1792/0.1792, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.517e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09863, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4643, allocations: 89.22 MB / 0.5888 GB, free: 96 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4646, allocations: 75.88 kB / 0.5889 GB, free: 24 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.479, allocations: 5.631 MB / 0.5944 GB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.479, allocations: 4 kB / 0.5944 GB, free: 10.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4791, allocations: 0 / 0.5944 GB, free: 10.4 MB / 410.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.0004494/0.4795, allocations: 406.2 kB / 0.5948 GB, free: 9.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4796, allocations: 12.03 kB / 0.5948 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.4796, allocations: 7.906 kB / 0.5948 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.4799, allocations: 219.5 kB / 0.595 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.4799, allocations: 7.953 kB / 0.595 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.48, allocations: 0 / 0.595 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4801, allocations: 61.56 kB / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4801, allocations: 0 / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4802, allocations: 4 kB / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4802, allocations: 0 / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.4802, allocations: 23.92 kB / 0.5951 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.4806, allocations: 292.9 kB / 0.5954 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4807, allocations: 58.62 kB / 0.5955 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.4807, allocations: 20.98 kB / 0.5955 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4808, allocations: 4 kB / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.4809, allocations: 63.39 kB / 0.5955 GB, free: 9.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4809, allocations: 0 / 0.5955 GB, free: 9.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004122/0.4813, allocations: 153.3 kB / 0.5957 GB, free: 8.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4814, allocations: 55.41 kB / 0.5957 GB, free: 8.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.4815, allocations: 191.6 kB / 0.5959 GB, free: 8.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.4816, allocations: 29.7 kB / 0.5959 GB, free: 8.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.4816, allocations: 100.1 kB / 0.596 GB, free: 8.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.4817, allocations: 23.66 kB / 0.5961 GB, free: 8.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.4817, allocations: 4 kB / 0.5961 GB, free: 8.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4818, allocations: 326.8 kB / 0.5964 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.4818, allocations: 16 kB / 0.5964 GB, free: 8.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.4819, allocations: 45.64 kB / 0.5964 GB, free: 8.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.4819, allocations: 20 kB / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.482, allocations: 0 / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001481/0.4821, allocations: 97.58 kB / 0.5966 GB, free: 7.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4821, allocations: 4 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4821, allocations: 4.062 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4822, allocations: 0 / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.4823, allocations: 23.92 kB / 0.5966 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4823, allocations: 0 / 0.5966 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.4823, allocations: 8.031 kB / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.4823, allocations: 4 kB / 0.5966 GB, free: 7.93 MB / 410.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 (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 7.641e-05/0.4824, allocations: 108.9 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.4824, allocations: 15.81 kB / 0.5967 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.4827, allocations: 119.2 kB / 0.5968 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4827, allocations: 4 kB / 0.5968 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4827, allocations: 0 / 0.5968 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4827, allocations: 0 / 0.5968 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.4831, allocations: 415.2 kB / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4831, allocations: 0 / 0.5972 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.4832, allocations: 16 kB / 0.5972 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4832, allocations: 3.938 kB / 0.5972 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4832, allocations: 3.938 kB / 0.5973 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4832, allocations: 4 kB / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4832, allocations: 0 / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.4834, allocations: 225.8 kB / 0.5975 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.4835, allocations: 89 kB / 0.5976 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4835, allocations: 8 kB / 0.5976 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.4836, allocations: 0 / 0.5976 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.4836, allocations: 11.94 kB / 0.5976 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.4836, allocations: 4 kB / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.4837, allocations: 156.9 kB / 0.5977 GB, free: 6.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4837, allocations: 0 / 0.5977 GB, free: 6.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.484, allocations: 35.92 kB / 0.5978 GB, free: 6.621 MB / 410.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) * 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.0008749/0.4849, allocations: 423.4 kB / 0.5982 GB, free: 6.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.485, allocations: 63.88 kB / 0.5982 GB, free: 6.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.485, allocations: 0 / 0.5982 GB, free: 6.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/0.4851, allocations: 39.91 kB / 0.5983 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4853, allocations: 23.92 kB / 0.5983 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.4857, allocations: 174.9 kB / 0.5985 GB, free: 6.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.4859, allocations: 0.7123 MB / 0.5991 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.231e-05/0.486, allocations: 16.42 kB / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.486, allocations: 19.42 kB / 0.5992 GB, free: 5.234 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.486, allocations: 0 / 0.5992 GB, free: 5.234 MB / 410.7 MB Notification: Performance of Templates: time 0.003809/0.4898, allocations: 1.716 MB / 0.6009 GB, free: 3.535 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches