Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 99.06 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001649, allocations: 204 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.192/0.192, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.00025, allocations: 11.98 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.0943, allocations: 63.56 MB / 483.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001721/0.09605, allocations: 1.31 MB / 485 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.09697, allocations: 0.5146 MB / 485.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.09703, allocations: 4 kB / 485.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.09721, allocations: 27.89 kB / 485.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.09742, allocations: 67.77 kB / 485.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.09767, allocations: 83.66 kB / 485.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.0978, allocations: 51.91 kB / 485.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.09789, allocations: 15.98 kB / 485.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.09793, allocations: 19.81 kB / 485.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.09799, allocations: 31.84 kB / 485.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.09801, allocations: 0 / 485.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-05/0.09809, allocations: 23.98 kB / 485.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.09814, allocations: 15.98 kB / 485.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.09819, allocations: 53.44 kB / 485.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.09831, allocations: 63.91 kB / 486 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09832, allocations: 0 / 486 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09833, allocations: 0 / 486 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.09833, allocations: 0 / 486 MB, free: 1.867 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003979/0.09874, allocations: 391.4 kB / 486.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.09878, allocations: 8.875 kB / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.09881, allocations: 8.844 kB / 486.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.09899, allocations: 196.1 kB / 486.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.099, allocations: 384 / 486.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.09903, allocations: 7.922 kB / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.09916, allocations: 49.62 kB / 486.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.09918, allocations: 4 kB / 486.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.09919, allocations: 0 / 486.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.0992, allocations: 4 kB / 486.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.319e-05/0.0993, allocations: 27.92 kB / 486.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.09962, allocations: 280.9 kB / 487 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.09981, allocations: 54.48 kB / 487 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.09987, allocations: 16.86 kB / 487 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.0999, allocations: 0 / 487 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.09993, allocations: 34.5 kB / 487.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.09993, allocations: 0 / 487.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005449/0.1005, allocations: 165.6 kB / 487.2 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1005, allocations: 51.41 kB / 487.3 MB, free: 428 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1007, allocations: 174.4 kB / 487.5 MB, free: 240 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1007, allocations: 25.7 kB / 487.5 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1008, allocations: 112 kB / 487.6 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1008, allocations: 15.75 kB / 487.6 MB, free: 76 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.1008, allocations: 9.719 kB / 487.6 MB, free: 60 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1009, allocations: 322.8 kB / 487.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.101, allocations: 23.98 kB / 487.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.1011, allocations: 23.98 kB / 488 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1012, allocations: 52.83 kB / 488 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1012, allocations: 0 / 488 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.1014, allocations: 101.5 kB / 488.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1015, allocations: 4 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1015, allocations: 0 / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.1015, allocations: 256 / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.1015, allocations: 15.98 kB / 488.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.1016, allocations: 4 kB / 488.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1016, allocations: 15.92 kB / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1016, allocations: 4 kB / 488.2 MB, free: 15.48 MB / 366.1 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/0.1017, allocations: 117.8 kB / 488.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1017, allocations: 7.906 kB / 488.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.102, allocations: 105.9 kB / 488.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.102, allocations: 0 / 488.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.102, allocations: 4 kB / 488.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.102, allocations: 3.938 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.1024, allocations: 350.6 kB / 488.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1024, allocations: 3.984 kB / 488.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.1025, allocations: 16 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1025, allocations: 0 / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1025, allocations: 7.875 kB / 488.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1025, allocations: 3.938 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1025, allocations: 3.938 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1028, allocations: 191.3 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1028, allocations: 85.02 kB / 489 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1028, allocations: 7.922 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1029, allocations: 8 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.103, allocations: 4 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.103, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.662e-05/0.1031, allocations: 138.5 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1031, allocations: 0 / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1033, allocations: 16 kB / 489.2 MB, free: 14.33 MB / 366.1 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008473/0.1042, allocations: 392.8 kB / 489.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1044, allocations: 55.91 kB / 489.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1044, allocations: 0 / 489.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.1045, allocations: 31.98 kB / 489.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1048, allocations: 22.02 kB / 489.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.1052, allocations: 250.8 kB / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1055, allocations: 0.6965 MB / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1055, allocations: 15.44 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1055, allocations: 3.938 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.002797/0.1083, allocations: 1.46 MB / 492.1 MB, free: 11.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches