Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 179.9 kB / 18.09 MB, free: 3.633 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.182/1.182, allocations: 223.3 MB / 242.1 MB, free: 11.72 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.0007136/0.0007136, allocations: 108.9 kB / 293.3 MB, free: 10.79 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.2608/0.2608, allocations: 44.14 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 16 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2919, allocations: 61.88 MB / 0.5107 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0985/0.3904, allocations: 88.42 MB / 0.5971 GB, free: 6.656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.3907, allocations: 79.94 kB / 0.5972 GB, free: 6.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.4016, allocations: 4.791 MB / 0.6018 GB, free: 1.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4017, allocations: 0 / 0.6018 GB, free: 1.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.4017, allocations: 0 / 0.6018 GB, free: 1.785 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004454/0.4022, allocations: 391.2 kB / 0.6022 GB, free: 1.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4022, allocations: 8.031 kB / 0.6022 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.4023, allocations: 8.844 kB / 0.6022 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.4025, allocations: 196.2 kB / 0.6024 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4025, allocations: 8.375 kB / 0.6024 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4025, allocations: 4.375 kB / 0.6024 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4027, allocations: 79.89 kB / 0.6025 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4027, allocations: 192 / 0.6025 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4027, allocations: 7.938 kB / 0.6025 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4027, allocations: 0 / 0.6025 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.4028, allocations: 39.97 kB / 0.6025 GB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.4033, allocations: 316.6 kB / 0.6028 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.4034, allocations: 62.55 kB / 0.6029 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.4035, allocations: 28.97 kB / 0.6029 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.4035, allocations: 0 / 0.6029 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.4035, allocations: 34.59 kB / 0.603 GB, free: 464 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.4035, allocations: 0 / 0.603 GB, free: 464 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000613/0.4042, allocations: 209.3 kB / 0.6032 GB, free: 248 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4042, allocations: 77.11 kB / 0.6032 GB, free: 152 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4044, allocations: 139.7 kB / 0.6034 GB, free: 4 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.4044, allocations: 25.7 kB / 0.6034 GB, free: 15.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.4044, allocations: 96.12 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.4045, allocations: 35.55 kB / 0.6035 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.4045, allocations: 0 / 0.6035 GB, free: 15.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4046, allocations: 322.8 kB / 0.6038 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.4047, allocations: 31.97 kB / 0.6039 GB, free: 15.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.4048, allocations: 45.7 kB / 0.6039 GB, free: 15.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.405, allocations: 85.06 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.405, allocations: 0 / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002162/0.4052, allocations: 121.5 kB / 0.6041 GB, free: 15.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4052, allocations: 7.938 kB / 0.6041 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4052, allocations: 0 / 0.6041 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4052, allocations: 4 kB / 0.6041 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.4053, allocations: 19.97 kB / 0.6041 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.4053, allocations: 4 kB / 0.6041 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.4054, allocations: 11.98 kB / 0.6041 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4054, allocations: 0 / 0.6041 GB, free: 15.18 MB / 426.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 8.291e-05/0.4055, allocations: 126.3 kB / 0.6043 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.4056, allocations: 7.906 kB / 0.6043 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.4058, allocations: 137.9 kB / 0.6044 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4058, allocations: 0 / 0.6044 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4058, allocations: 4 kB / 0.6044 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.4059, allocations: 0 / 0.6044 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.4063, allocations: 406.4 kB / 0.6048 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4063, allocations: 0 / 0.6048 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.4064, allocations: 23.98 kB / 0.6048 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4064, allocations: 4 kB / 0.6048 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.4064, allocations: 4 kB / 0.6048 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4064, allocations: 3.938 kB / 0.6048 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4064, allocations: 0 / 0.6048 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.4067, allocations: 219.6 kB / 0.605 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.4067, allocations: 81.02 kB / 0.6051 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4067, allocations: 4 kB / 0.6051 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.4068, allocations: 19.86 kB / 0.6051 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.4069, allocations: 8.312 kB / 0.6051 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4069, allocations: 3.984 kB / 0.6052 GB, free: 14.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.988e-05/0.407, allocations: 105.7 kB / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.407, allocations: 0 / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.4072, allocations: 39.94 kB / 0.6053 GB, free: 13.9 MB / 426.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: 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.0008963/0.4081, allocations: 449.1 kB / 0.6057 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.4084, allocations: 83.92 kB / 0.6058 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4084, allocations: 0 / 0.6058 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.4085, allocations: 43.92 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.4088, allocations: 19.41 kB / 0.6059 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.4091, allocations: 221 kB / 0.6061 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.4094, allocations: 0.6926 MB / 0.6067 GB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.4095, allocations: 24.95 kB / 0.6068 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.4096, allocations: 23.42 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4096, allocations: 0 / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of Templates: time 0.003654/0.4132, allocations: 1.397 MB / 0.6082 GB, free: 11.09 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches