Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 76.09 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3093, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002814/0.3122, allocations: 1.62 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.3132, allocations: 0.5443 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.3132, allocations: 1.375 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.3135, allocations: 97.98 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3138, allocations: 105.8 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3141, allocations: 114.1 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3143, allocations: 86.12 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.308e-05/0.3144, allocations: 20.48 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.3145, allocations: 40.48 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3146, allocations: 51.8 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3146, allocations: 3.281 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3148, allocations: 45.94 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.3148, allocations: 20.17 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.3149, allocations: 38.25 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.315, allocations: 111.2 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3151, allocations: 4 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3151, allocations: 1.094 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3151, allocations: 3.938 kB / 0.5345 GB, free: 11.48 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.0005524/0.3156, allocations: 415 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3157, allocations: 9.125 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.3157, allocations: 14.72 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.3159, allocations: 201.1 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-06/0.3159, allocations: 1.594 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.3159, allocations: 6.75 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3161, allocations: 59.34 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3161, allocations: 0 / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3161, allocations: 4 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3161, allocations: 1.156 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.3163, allocations: 28.69 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.3167, allocations: 308.4 kB / 0.5355 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3168, allocations: 52.25 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.3169, allocations: 21.12 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3169, allocations: 1.375 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3169, allocations: 30.56 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3169, allocations: 1.375 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009609/0.3179, allocations: 249.7 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.318, allocations: 52.78 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.3182, allocations: 229.9 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3182, allocations: 35.23 kB / 0.5362 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.3183, allocations: 109.3 kB / 0.5363 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.3183, allocations: 35.77 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.3184, allocations: 20.31 kB / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3185, allocations: 325.7 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/0.3186, allocations: 32.22 kB / 0.5367 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.3187, allocations: 29.58 kB / 0.5367 GB, free: 9.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3189, allocations: 73.44 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3189, allocations: 4 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002627/0.3192, allocations: 110.4 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3192, allocations: 4.219 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3192, allocations: 1.125 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3192, allocations: 0 / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3194, allocations: 22.2 kB / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3194, allocations: 1.312 kB / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.3194, allocations: 10.55 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3194, allocations: 6.688 kB / 0.5369 GB, free: 9.305 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.466e-05/0.3195, allocations: 131.5 kB / 0.537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.3196, allocations: 12.97 kB / 0.537 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.3199, allocations: 130.9 kB / 0.5372 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3199, allocations: 8.953 kB / 0.5372 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3199, allocations: 1.125 kB / 0.5372 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3199, allocations: 3.938 kB / 0.5372 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.3205, allocations: 425.6 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3206, allocations: 0 / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.3206, allocations: 17.64 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3206, allocations: 5.125 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3207, allocations: 6.375 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3207, allocations: 0 / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3207, allocations: 1.156 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.321, allocations: 221.3 kB / 0.5378 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.321, allocations: 95.72 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3211, allocations: 1.969 kB / 0.5379 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3211, allocations: 7.281 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3212, allocations: 7.703 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3212, allocations: 13.84 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.3214, allocations: 178 kB / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3214, allocations: 0 / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3217, allocations: 27.86 kB / 0.5381 GB, free: 8.215 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.001039/0.3227, allocations: 444.8 kB / 0.5386 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.323, allocations: 78.75 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.323, allocations: 1.094 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3231, allocations: 40.31 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3235, allocations: 26.86 kB / 0.5387 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.3241, allocations: 313.5 kB / 0.539 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3244, allocations: 0.7139 MB / 0.5397 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.3244, allocations: 18.45 kB / 0.5397 GB, free: 6.961 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3244, allocations: 0 / 0.5397 GB, free: 6.961 MB / 398.1 MB Notification: Performance of Templates: time 0.003755/0.3282, allocations: 1.865 MB / 0.5415 GB, free: 5.992 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches