Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001658, allocations: 80.09 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3087, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00285/0.3116, allocations: 1.624 MB / 0.5333 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.3126, allocations: 0.5384 MB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.3127, allocations: 0 / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.313, allocations: 118.8 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.3133, allocations: 127.6 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.3137, allocations: 98.06 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3139, allocations: 96.02 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.314, allocations: 20.77 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.191e-05/0.3141, allocations: 47.16 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3143, allocations: 77.58 kB / 0.5344 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3143, allocations: 6.531 kB / 0.5344 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3144, allocations: 41.73 kB / 0.5344 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3145, allocations: 35.11 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.3146, allocations: 42.69 kB / 0.5345 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3148, allocations: 119.2 kB / 0.5346 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3148, allocations: 0 / 0.5346 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3148, allocations: 0 / 0.5346 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3148, allocations: 1.219 kB / 0.5346 GB, free: 11.47 MB / 398.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.0005006/0.3153, allocations: 437.8 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3154, allocations: 10.16 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3154, allocations: 18.38 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.3156, allocations: 214.7 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3157, allocations: 1.625 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.3157, allocations: 2.938 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.3159, allocations: 58.64 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3159, allocations: 0 / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3159, allocations: 1.188 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3159, allocations: 0 / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.316, allocations: 23.89 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.3164, allocations: 310.3 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3165, allocations: 42.72 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.3166, allocations: 16.94 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3166, allocations: 1.031 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3166, allocations: 35.97 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3166, allocations: 7.938 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009551/0.3176, allocations: 232.4 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.3176, allocations: 52.78 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.3179, allocations: 282 kB / 0.5363 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.318, allocations: 38.86 kB / 0.5363 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.318, allocations: 111 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.3181, allocations: 27.09 kB / 0.5364 GB, free: 9.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.3182, allocations: 24.36 kB / 0.5364 GB, free: 9.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3183, allocations: 326.9 kB / 0.5368 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.3184, allocations: 22.17 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.3184, allocations: 21.95 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3186, allocations: 64.2 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3186, allocations: 0 / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002283/0.3188, allocations: 110.1 kB / 0.537 GB, free: 9.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3189, allocations: 7.031 kB / 0.537 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3189, allocations: 4.906 kB / 0.537 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3189, allocations: 3.984 kB / 0.537 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.319, allocations: 18.2 kB / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.319, allocations: 5.125 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.3191, allocations: 10.47 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3191, allocations: 6.469 kB / 0.537 GB, free: 9.266 MB / 398.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 9.796e-05/0.3192, allocations: 133.1 kB / 0.5371 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/0.3193, allocations: 10.53 kB / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.3196, allocations: 130.5 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3196, allocations: 1.812 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3196, allocations: 4 kB / 0.5373 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3196, allocations: 3.938 kB / 0.5373 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.3201, allocations: 409.1 kB / 0.5377 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3201, allocations: 0 / 0.5377 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.3202, allocations: 18.64 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3202, allocations: 3.938 kB / 0.5377 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3202, allocations: 6.188 kB / 0.5377 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3203, allocations: 5.266 kB / 0.5377 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3203, allocations: 3.984 kB / 0.5377 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.3206, allocations: 205.2 kB / 0.5379 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.3206, allocations: 96.47 kB / 0.538 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3207, allocations: 2.438 kB / 0.538 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.3208, allocations: 10.34 kB / 0.538 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3208, allocations: 7.641 kB / 0.538 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.3208, allocations: 2.906 kB / 0.538 GB, free: 8.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.321, allocations: 205.1 kB / 0.5382 GB, free: 8.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.321, allocations: 0 / 0.5382 GB, free: 8.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3213, allocations: 26.23 kB / 0.5382 GB, free: 8.203 MB / 398.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.001096/0.3224, allocations: 459.1 kB / 0.5387 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3226, allocations: 57.81 kB / 0.5387 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3226, allocations: 0 / 0.5387 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.3227, allocations: 37.84 kB / 0.5388 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.3231, allocations: 36.91 kB / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.3237, allocations: 335.9 kB / 0.5391 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.324, allocations: 0.7178 MB / 0.5398 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.3241, allocations: 17.06 kB / 0.5399 GB, free: 6.934 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3241, allocations: 5.344 kB / 0.5399 GB, free: 6.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004126/0.3282, allocations: 1.899 MB / 0.5417 GB, free: 5.941 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches