Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009386/0.0009384, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.246/1.246, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008604/0.0008604, allocations: 93.05 kB / 292.2 MB, free: 10.71 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.3052/0.3052, allocations: 44.22 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003218, allocations: 12 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3629, allocations: 61.89 MB / 0.5096 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.4708, allocations: 88.04 MB / 0.5955 GB, free: 7.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.4711, allocations: 87.92 kB / 0.5956 GB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01006/0.4811, allocations: 4.272 MB / 0.5998 GB, free: 2.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4812, allocations: 0 / 0.5998 GB, free: 2.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4812, allocations: 4 kB / 0.5998 GB, free: 2.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000364/0.4816, allocations: 418.7 kB / 0.6002 GB, free: 2.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.4816, allocations: 12.56 kB / 0.6002 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.4816, allocations: 7.906 kB / 0.6002 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.4818, allocations: 203.9 kB / 0.6004 GB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.4819, allocations: 0 / 0.6004 GB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4819, allocations: 8 kB / 0.6004 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.482, allocations: 57.62 kB / 0.6005 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.482, allocations: 0 / 0.6005 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4821, allocations: 4 kB / 0.6005 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.4821, allocations: 3.938 kB / 0.6005 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.055e-05/0.4822, allocations: 23.98 kB / 0.6005 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.4825, allocations: 304.7 kB / 0.6008 GB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.936e-05/0.4826, allocations: 50.48 kB / 0.6008 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.4826, allocations: 0 / 0.6008 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.4827, allocations: 38.56 kB / 0.6009 GB, free: 1.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.4827, allocations: 0 / 0.6009 GB, free: 1.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007492/0.4834, allocations: 241.2 kB / 0.6011 GB, free: 1.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.4835, allocations: 51.41 kB / 0.6012 GB, free: 1.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4836, allocations: 179.1 kB / 0.6013 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4837, allocations: 29.7 kB / 0.6014 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.4837, allocations: 112 kB / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.4837, allocations: 27.64 kB / 0.6015 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.4838, allocations: 0 / 0.6015 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.4839, allocations: 330.8 kB / 0.6018 GB, free: 480 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.4839, allocations: 27.98 kB / 0.6018 GB, free: 452 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.484, allocations: 28.05 kB / 0.6019 GB, free: 424 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.313e-05/0.4841, allocations: 35.98 kB / 0.6019 GB, free: 388 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4841, allocations: 0 / 0.6019 GB, free: 388 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001907/0.4843, allocations: 113.4 kB / 0.602 GB, free: 268 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4843, allocations: 9.391 kB / 0.602 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4843, allocations: 8 kB / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.4843, allocations: 0 / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.4844, allocations: 20 kB / 0.602 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4844, allocations: 3.984 kB / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.4845, allocations: 4 kB / 0.602 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4845, allocations: 7.938 kB / 0.602 GB, free: 216 kB / 410.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 (8): * Single equations (assignments): 8 * 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.593e-05/0.4846, allocations: 129.8 kB / 0.6022 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4846, allocations: 11.91 kB / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.4849, allocations: 126.6 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4849, allocations: 4 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4849, allocations: 0 / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4849, allocations: 0 / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.4854, allocations: 427.6 kB / 0.6027 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4854, allocations: 4 kB / 0.6027 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.4855, allocations: 15.98 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4855, allocations: 4 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.4855, allocations: 0 / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4855, allocations: 0 / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.4855, allocations: 7.969 kB / 0.6027 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.4857, allocations: 229.9 kB / 0.603 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.4858, allocations: 97 kB / 0.6031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.4858, allocations: 4 kB / 0.6031 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.4859, allocations: 8 kB / 0.6031 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.486, allocations: 11.94 kB / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.486, allocations: 0 / 0.6031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.4861, allocations: 160 kB / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4861, allocations: 0 / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.4863, allocations: 23.98 kB / 0.6033 GB, free: 14.86 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008946/0.4872, allocations: 474.6 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.4874, allocations: 71.95 kB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4874, allocations: 0 / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.4875, allocations: 39.92 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.4877, allocations: 22.33 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.4881, allocations: 274.7 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.4883, allocations: 0.7043 MB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.397e-05/0.4884, allocations: 24.64 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.4884, allocations: 15.44 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4885, allocations: 3.938 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of Templates: time 0.003107/0.4916, allocations: 1.338 MB / 0.6061 GB, free: 12.02 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches