Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 117.1 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 184.2 kB / 18.72 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1966/0.1966, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 55.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.316, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002509/0.3185, allocations: 1.576 MB / 0.5205 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006008/0.3191, allocations: 403.8 kB / 0.5208 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.3192, allocations: 0 / 0.5208 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.3198, allocations: 454.8 kB / 0.5213 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.3202, allocations: 252.9 kB / 0.5215 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.3205, allocations: 121.5 kB / 0.5216 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.3207, allocations: 147 kB / 0.5218 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.3208, allocations: 16.3 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3209, allocations: 110 kB / 0.5219 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3211, allocations: 204.8 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3212, allocations: 2.375 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.3212, allocations: 19.2 kB / 0.5221 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.3213, allocations: 84.83 kB / 0.5222 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.3214, allocations: 102.1 kB / 0.5223 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.3217, allocations: 238.1 kB / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3217, allocations: 0 / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3217, allocations: 3.938 kB / 0.5225 GB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.3217, allocations: 1.125 kB / 0.5225 GB, free: 1.855 MB / 382.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.0005277/0.3222, allocations: 0.6341 MB / 0.5231 GB, free: 1.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3223, allocations: 10.41 kB / 0.5232 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.3223, allocations: 41.69 kB / 0.5232 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3225, allocations: 300.8 kB / 0.5235 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3226, allocations: 5.406 kB / 0.5235 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3226, allocations: 1.438 kB / 0.5235 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3227, allocations: 48.11 kB / 0.5235 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3227, allocations: 1.688 kB / 0.5235 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3227, allocations: 0 / 0.5235 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3227, allocations: 3.938 kB / 0.5235 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.3228, allocations: 24.47 kB / 0.5236 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.3232, allocations: 374.9 kB / 0.5239 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.3233, allocations: 26.67 kB / 0.5239 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.3234, allocations: 19.12 kB / 0.524 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3234, allocations: 6.109 kB / 0.524 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3234, allocations: 34.56 kB / 0.524 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3234, allocations: 1.156 kB / 0.524 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002136/0.3236, allocations: 99.89 kB / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.3237, allocations: 51.41 kB / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/0.3244, allocations: 0.8542 MB / 0.525 GB, free: 80 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.3244, allocations: 29.7 kB / 0.525 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3246, allocations: 222.3 kB / 0.5252 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3246, allocations: 5.828 kB / 0.5252 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.3246, allocations: 13.27 kB / 0.5252 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3248, allocations: 369.2 kB / 0.5256 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.42e-05/0.3248, allocations: 6.5 kB / 0.5256 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.3249, allocations: 10.92 kB / 0.5256 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.3249, allocations: 24.14 kB / 0.5256 GB, free: 15.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.325, allocations: 0 / 0.5256 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001386/0.3251, allocations: 97.38 kB / 0.5257 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3251, allocations: 5.844 kB / 0.5257 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3251, allocations: 0.7969 kB / 0.5257 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3251, allocations: 0 / 0.5257 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.3252, allocations: 6.438 kB / 0.5257 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3252, allocations: 3.984 kB / 0.5257 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.3253, allocations: 6.969 kB / 0.5257 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3253, allocations: 1.719 kB / 0.5257 GB, free: 15.41 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 (2): * Single equations (assignments): 2 * 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.0001773/0.3255, allocations: 219.5 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.3255, allocations: 45.03 kB / 0.526 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.3257, allocations: 104.5 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3257, allocations: 1.281 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3257, allocations: 0 / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3257, allocations: 1.156 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.326, allocations: 281.9 kB / 0.5264 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.326, allocations: 3.984 kB / 0.5264 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.3261, allocations: 4.094 kB / 0.5264 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3261, allocations: 0 / 0.5264 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.3261, allocations: 5.469 kB / 0.5264 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3261, allocations: 0 / 0.5264 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3261, allocations: 0 / 0.5264 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.3263, allocations: 196.1 kB / 0.5266 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.3263, allocations: 109.2 kB / 0.5267 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3264, allocations: 1.125 kB / 0.5267 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.3264, allocations: 2.062 kB / 0.5267 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.3265, allocations: 5.625 kB / 0.5267 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3265, allocations: 7.938 kB / 0.5267 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005722/0.327, allocations: 0.6506 MB / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3271, allocations: 0 / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.3273, allocations: 14.53 kB / 0.5273 GB, free: 14.29 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 (2): * Single equations (assignments): 2 * 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.0006918/0.328, allocations: 350.9 kB / 0.5277 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.3281, allocations: 20.83 kB / 0.5277 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3281, allocations: 1.25 kB / 0.5277 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.3282, allocations: 10.81 kB / 0.5277 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3285, allocations: 27.42 kB / 0.5277 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.3294, allocations: 0.7613 MB / 0.5285 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3298, allocations: 0.8199 MB / 0.5293 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.02e-05/0.3298, allocations: 3.625 kB / 0.5293 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.3298, allocations: 10.78 kB / 0.5293 GB, free: 12.9 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3298, allocations: 0 / 0.5293 GB, free: 12.9 MB / 398.1 MB Notification: Performance of Templates: time 0.004151/0.334, allocations: 1.267 MB / 0.5305 GB, free: 12.26 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches