Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.89 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.00296/0.3178, allocations: 1.599 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3195, allocations: 1.156 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.3196, allocations: 5.312 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3198, allocations: 19.98 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.3202, allocations: 85.73 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.3204, allocations: 94.2 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3206, allocations: 63.39 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3207, allocations: 5.5 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.3207, allocations: 38.78 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.3209, allocations: 34.78 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.321, allocations: 6.75 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3212, allocations: 96.19 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.3212, allocations: 14.64 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.3213, allocations: 25.14 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.3215, allocations: 138.1 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3215, allocations: 4 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3215, allocations: 1.344 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3215, allocations: 0 / 0.535 GB, free: 11.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005118/0.3221, allocations: 391.8 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3221, allocations: 13.59 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.3222, allocations: 12.2 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3224, allocations: 194.2 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3224, allocations: 5.812 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3224, allocations: 5.594 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3226, allocations: 64.2 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3226, allocations: 1.188 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3226, allocations: 4 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3226, allocations: 5.312 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.284e-05/0.3227, allocations: 16.33 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.3231, allocations: 287.9 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3233, allocations: 39.5 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.3234, allocations: 18.72 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3234, allocations: 5.125 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3234, allocations: 31.66 kB / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3234, allocations: 0 / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005992/0.324, allocations: 137.2 kB / 0.5361 GB, free: 9.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3241, allocations: 78.14 kB / 0.5362 GB, free: 9.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3243, allocations: 148.9 kB / 0.5364 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3243, allocations: 33.69 kB / 0.5364 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3243, allocations: 87.48 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.3244, allocations: 21.97 kB / 0.5365 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3244, allocations: 22.2 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3245, allocations: 321.1 kB / 0.5368 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.3246, allocations: 14.3 kB / 0.5368 GB, free: 9.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.3247, allocations: 43.31 kB / 0.5369 GB, free: 9.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3248, allocations: 43.19 kB / 0.5369 GB, free: 9.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3249, allocations: 0 / 0.5369 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001972/0.3251, allocations: 77.28 kB / 0.537 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3251, allocations: 5.125 kB / 0.537 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3251, allocations: 0 / 0.537 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3251, allocations: 5.062 kB / 0.537 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.3252, allocations: 22.39 kB / 0.537 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3252, allocations: 0 / 0.537 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.3253, allocations: 14.94 kB / 0.537 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3253, allocations: 6.062 kB / 0.537 GB, free: 9.008 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 (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.374e-05/0.3254, allocations: 113.3 kB / 0.5372 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3254, allocations: 4.031 kB / 0.5372 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3257, allocations: 100.8 kB / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3257, allocations: 1.375 kB / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3257, allocations: 0 / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3257, allocations: 0 / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.3262, allocations: 355.1 kB / 0.5376 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3262, allocations: 0 / 0.5376 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.3262, allocations: 13.17 kB / 0.5376 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3263, allocations: 5.25 kB / 0.5376 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.3263, allocations: 4 kB / 0.5376 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3263, allocations: 9.312 kB / 0.5376 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3263, allocations: 0 / 0.5376 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.3265, allocations: 179.5 kB / 0.5378 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.3266, allocations: 79.73 kB / 0.5379 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3266, allocations: 1.375 kB / 0.5379 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.3267, allocations: 11.05 kB / 0.5379 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.3267, allocations: 10.14 kB / 0.5379 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.3268, allocations: 1.281 kB / 0.5379 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.674e-05/0.3268, allocations: 116 kB / 0.538 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3269, allocations: 1.344 kB / 0.538 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000288/0.3272, allocations: 39.62 kB / 0.538 GB, free: 8.055 MB / 398.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.001197/0.3284, allocations: 494.8 kB / 0.5385 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3286, allocations: 44.09 kB / 0.5386 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3286, allocations: 4 kB / 0.5386 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3287, allocations: 27.58 kB / 0.5386 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.329, allocations: 22.81 kB / 0.5386 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.3295, allocations: 191.5 kB / 0.5388 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3297, allocations: 0.6886 MB / 0.5395 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.3298, allocations: 23.61 kB / 0.5395 GB, free: 6.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3298, allocations: 0 / 0.5395 GB, free: 6.867 MB / 398.1 MB Notification: Performance of Templates: time 0.003816/0.3336, allocations: 1.926 MB / 0.5414 GB, free: 5.871 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches