Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 116.2 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.002114/0.002114, allocations: 206 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.349/1.349, 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.2056/0.2056, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 80.08 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3082, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003039/0.3113, allocations: 1.679 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3124, allocations: 0.5495 MB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.3124, allocations: 1.156 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.3127, allocations: 62.45 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.313, allocations: 97.42 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.3135, allocations: 129.7 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3137, allocations: 86.72 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3138, allocations: 21.09 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.3139, allocations: 34.39 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.314, allocations: 42.39 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.314, allocations: 4.219 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.3141, allocations: 56.28 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.3142, allocations: 28.19 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.3143, allocations: 29.75 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3145, allocations: 105.5 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3145, allocations: 8 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3145, allocations: 0 / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3145, allocations: 1.094 kB / 0.5345 GB, free: 11.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005429/0.3151, allocations: 411.2 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3151, allocations: 9.031 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.3152, allocations: 14.56 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.3154, allocations: 203.7 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3154, allocations: 5.344 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3155, allocations: 7.594 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3156, allocations: 67.12 kB / 0.5352 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3157, allocations: 4.875 kB / 0.5352 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3157, allocations: 5.281 kB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3157, allocations: 1.219 kB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.3158, allocations: 37.59 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3163, allocations: 302.2 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.3165, allocations: 59.33 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.3166, allocations: 23.97 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3166, allocations: 5.359 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3166, allocations: 35.94 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3166, allocations: 0 / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001477/0.3181, allocations: 392.7 kB / 0.5361 GB, free: 10.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3182, allocations: 60.59 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3184, allocations: 186.6 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3184, allocations: 30.77 kB / 0.5363 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.3185, allocations: 104.6 kB / 0.5364 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.3186, allocations: 43.66 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.3186, allocations: 29.42 kB / 0.5365 GB, free: 9.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3187, allocations: 326 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3189, allocations: 39.53 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.319, allocations: 45.09 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.3195, allocations: 99.53 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.3195, allocations: 1.344 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007651/0.3203, allocations: 149.1 kB / 0.5371 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3204, allocations: 5.438 kB / 0.5371 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3204, allocations: 0 / 0.5371 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3204, allocations: 5.125 kB / 0.5371 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.3206, allocations: 35.91 kB / 0.5372 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3206, allocations: 1.094 kB / 0.5372 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3208, allocations: 5.625 kB / 0.5372 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3208, allocations: 3.344 kB / 0.5372 GB, free: 9.148 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 (11): * Single equations (assignments): 11 * 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 0.0001933/0.321, allocations: 126.9 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3211, allocations: 9.656 kB / 0.5373 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/0.3218, allocations: 169.6 kB / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3219, allocations: 8.875 kB / 0.5375 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3219, allocations: 1.031 kB / 0.5375 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3219, allocations: 3.938 kB / 0.5375 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.323, allocations: 475.6 kB / 0.5379 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.323, allocations: 1.156 kB / 0.5379 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.3232, allocations: 23.61 kB / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3232, allocations: 2 kB / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3232, allocations: 10.17 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.3232, allocations: 0.8438 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3232, allocations: 1.062 kB / 0.538 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.3239, allocations: 247.7 kB / 0.5382 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.3239, allocations: 96.78 kB / 0.5383 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.324, allocations: 4.844 kB / 0.5383 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3242, allocations: 11.11 kB / 0.5383 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.3243, allocations: 8.188 kB / 0.5383 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.3243, allocations: 10.8 kB / 0.5383 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.3245, allocations: 143.8 kB / 0.5385 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3245, allocations: 0 / 0.5385 GB, free: 8.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005092/0.3251, allocations: 26.53 kB / 0.5385 GB, free: 8.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001255/0.3263, allocations: 452.8 kB / 0.5389 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.3268, allocations: 107 kB / 0.539 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3268, allocations: 0 / 0.539 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.327, allocations: 62.69 kB / 0.5391 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.3274, allocations: 27.95 kB / 0.5391 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006876/0.3281, allocations: 308.2 kB / 0.5394 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3285, allocations: 0.7074 MB / 0.5401 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.3285, allocations: 20.42 kB / 0.5401 GB, free: 6.73 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3286, allocations: 0 / 0.5401 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004068/0.3326, allocations: 1.936 MB / 0.542 GB, free: 5.727 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches