Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007112/0.0007112, allocations: 96.66 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008248/0.0008248, allocations: 206.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 46.19 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002291, allocations: 8 kB / 419.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08615, allocations: 63.55 MB / 483.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001583/0.08777, allocations: 1.334 MB / 484.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.08858, allocations: 0.5262 MB / 484.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.08863, allocations: 4 kB / 484.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.08888, allocations: 115.8 kB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.0891, allocations: 111.8 kB / 485.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.08932, allocations: 86.89 kB / 485.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.08946, allocations: 87.86 kB / 485.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.08955, allocations: 12 kB / 485.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.08961, allocations: 47.77 kB / 485.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.08972, allocations: 83.78 kB / 485.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.08974, allocations: 0 / 485.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.08983, allocations: 43.98 kB / 485.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.08988, allocations: 31.84 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.08993, allocations: 53.39 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.09008, allocations: 115.6 kB / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.09009, allocations: 0 / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0901, allocations: 0 / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.09011, allocations: 0 / 485.7 MB, free: 1.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000389/0.0905, allocations: 431.1 kB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.09054, allocations: 12.88 kB / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.09057, allocations: 8.844 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.09074, allocations: 207.9 kB / 486.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.09075, allocations: 384 / 486.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.09078, allocations: 4.375 kB / 486.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.09091, allocations: 61.78 kB / 486.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.09093, allocations: 0 / 486.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.09094, allocations: 8 kB / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.09095, allocations: 0 / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-05/0.09105, allocations: 27.92 kB / 486.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.09137, allocations: 304.8 kB / 486.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.672e-05/0.09148, allocations: 54.5 kB / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.09154, allocations: 20.88 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.09156, allocations: 0 / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.09159, allocations: 42.5 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.09159, allocations: 0 / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000847/0.09244, allocations: 261.3 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.09249, allocations: 59.39 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.09272, allocations: 275.7 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.09275, allocations: 33.7 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.09281, allocations: 112.1 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.09284, allocations: 27.61 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.09287, allocations: 17.72 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.09296, allocations: 326.8 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/0.09305, allocations: 27.97 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.09313, allocations: 31.98 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.09331, allocations: 72.83 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.09332, allocations: 0 / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002151/0.09354, allocations: 109.4 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.09356, allocations: 14.5 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.09357, allocations: 0 / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.09358, allocations: 0 / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.09368, allocations: 19.98 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.09369, allocations: 0 / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.09375, allocations: 11.92 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.09376, allocations: 4 kB / 488.2 MB, free: 14.79 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 (8): * Single equations (assignments): 8 * 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.582e-05/0.09385, allocations: 137.8 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.09389, allocations: 19.81 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.09417, allocations: 134.9 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.09418, allocations: 4 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.09419, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.0942, allocations: 3.938 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.09468, allocations: 427.6 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.0947, allocations: 0 / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.09478, allocations: 23.98 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.09479, allocations: 7.969 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.0948, allocations: 4 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.09481, allocations: 80 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.09482, allocations: 7.922 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.09506, allocations: 212.2 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.09511, allocations: 96.86 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.09514, allocations: 7.984 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.09522, allocations: 4 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.09526, allocations: 7.984 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.09527, allocations: 7.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.09543, allocations: 205.5 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09544, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.0957, allocations: 27.98 kB / 489.5 MB, free: 13.36 MB / 366.1 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 (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.0009261/0.09663, allocations: 440.3 kB / 490 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.09684, allocations: 71.97 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.09685, allocations: 0 / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.09695, allocations: 43.86 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.09726, allocations: 19.92 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.09776, allocations: 355.5 kB / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.09798, allocations: 0.7179 MB / 491.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.737e-05/0.09804, allocations: 20.95 kB / 491.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.09807, allocations: 15.44 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09808, allocations: 0 / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Templates: time 0.003359/0.1014, allocations: 1.309 MB / 492.5 MB, free: 10.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches