Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001112, allocations: 112.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001224, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 72.09 kB / 482 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3201, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002883/0.323, allocations: 1.613 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.324, allocations: 0.5408 MB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.324, allocations: 0 / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.3243, allocations: 74.14 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.3246, allocations: 106.1 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.3249, allocations: 99.19 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.3251, allocations: 80.89 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.3252, allocations: 16.23 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.3252, allocations: 35.02 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.3253, allocations: 52.7 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3254, allocations: 6.75 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.3255, allocations: 44.86 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.3256, allocations: 19.98 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.3256, allocations: 33.11 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.3258, allocations: 117.8 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3258, allocations: 0 / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3258, allocations: 0 / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3259, allocations: 1.312 kB / 0.5344 GB, free: 11.49 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.0004815/0.3263, allocations: 413.7 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.3264, allocations: 8.219 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.3264, allocations: 14.44 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3266, allocations: 200.4 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3266, allocations: 1.781 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3266, allocations: 6.938 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3268, allocations: 58.33 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3268, allocations: 7.891 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3269, allocations: 5.281 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3269, allocations: 5.391 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.327, allocations: 22.83 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.3274, allocations: 294.4 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.3275, allocations: 47.25 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.3275, allocations: 16.75 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3276, allocations: 0 / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/0.3276, allocations: 39.62 kB / 0.5355 GB, free: 10.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3277, allocations: 1.312 kB / 0.5355 GB, free: 10.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000874/0.3285, allocations: 221.5 kB / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.3286, allocations: 52.59 kB / 0.5358 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.3288, allocations: 222.3 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3289, allocations: 25.7 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.3289, allocations: 106.3 kB / 0.5361 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.329, allocations: 27.03 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.329, allocations: 26.92 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3292, allocations: 322.9 kB / 0.5365 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.3293, allocations: 21.98 kB / 0.5365 GB, free: 9.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.3293, allocations: 38.58 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3295, allocations: 59.08 kB / 0.5366 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3295, allocations: 1.375 kB / 0.5366 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002076/0.3297, allocations: 95.88 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3298, allocations: 4.656 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3298, allocations: 1.094 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3298, allocations: 0 / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.3299, allocations: 21.7 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3299, allocations: 1.344 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.33, allocations: 14.41 kB / 0.5367 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.33, allocations: 2.594 kB / 0.5367 GB, free: 9.363 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 8.429e-05/0.3301, allocations: 124.4 kB / 0.5369 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3301, allocations: 21.25 kB / 0.5369 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.3304, allocations: 116.8 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3304, allocations: 4 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3305, allocations: 1.531 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3305, allocations: 7.875 kB / 0.537 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.3309, allocations: 402.8 kB / 0.5374 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.331, allocations: 1.125 kB / 0.5374 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-05/0.331, allocations: 25.23 kB / 0.5374 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.331, allocations: 5.062 kB / 0.5374 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3311, allocations: 5.094 kB / 0.5374 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3311, allocations: 1.312 kB / 0.5374 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3311, allocations: 1.312 kB / 0.5374 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.3314, allocations: 199.5 kB / 0.5376 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3315, allocations: 88.17 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3315, allocations: 10.02 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.123e-05/0.3316, allocations: 7.281 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.3316, allocations: 11.08 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3316, allocations: 6.141 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3318, allocations: 172.8 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3318, allocations: 0 / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.332, allocations: 17.16 kB / 0.5379 GB, free: 8.309 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.001025/0.3331, allocations: 458.5 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3333, allocations: 66.7 kB / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3333, allocations: 0 / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.3334, allocations: 33.77 kB / 0.5384 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.3337, allocations: 29.33 kB / 0.5385 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.3342, allocations: 288.5 kB / 0.5388 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3345, allocations: 0.7066 MB / 0.5394 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.3346, allocations: 18.53 kB / 0.5395 GB, free: 7.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3346, allocations: 0 / 0.5395 GB, free: 7.062 MB / 398.1 MB Notification: Performance of Templates: time 0.003754/0.3383, allocations: 1.761 MB / 0.5412 GB, free: 6.156 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches