Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001025, allocations: 113.2 kB / 17.78 MB, free: 5.262 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.001133/0.001133, allocations: 185 kB / 18.72 MB, free: 4.336 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1955/0.1955, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.339, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003004/0.3421, allocations: 1.578 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.3429, allocations: 422.8 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.343, allocations: 3.938 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.3434, allocations: 76.67 kB / 0.521 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3436, allocations: 59.44 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.344, allocations: 117 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.3441, allocations: 69.66 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3443, allocations: 23.42 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.3443, allocations: 37.17 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3444, allocations: 54.44 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3445, allocations: 6.125 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3446, allocations: 44.58 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.3446, allocations: 19.16 kB / 0.5214 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.3447, allocations: 26.77 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.3449, allocations: 96.92 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3449, allocations: 4 kB / 0.5215 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3449, allocations: 0 / 0.5215 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3449, allocations: 0 / 0.5215 GB, free: 1.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003811/0.3453, allocations: 415.1 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3454, allocations: 11.16 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.3454, allocations: 12.73 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3456, allocations: 198.3 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3456, allocations: 1.469 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3456, allocations: 6.531 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.3457, allocations: 58.17 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3458, allocations: 0 / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3458, allocations: 1.125 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3458, allocations: 1.375 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.3459, allocations: 29.44 kB / 0.5222 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.3462, allocations: 301 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3464, allocations: 48.31 kB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.3464, allocations: 16.66 kB / 0.5225 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3465, allocations: 0.6562 kB / 0.5225 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3465, allocations: 37.19 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3465, allocations: 3.938 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000863/0.3474, allocations: 243 kB / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.3474, allocations: 52.5 kB / 0.5229 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3476, allocations: 211.2 kB / 0.5231 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.3476, allocations: 29.64 kB / 0.5231 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.3477, allocations: 111.6 kB / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3477, allocations: 26.06 kB / 0.5232 GB, free: 460 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3478, allocations: 25.88 kB / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.3478, allocations: 325.6 kB / 0.5236 GB, free: 108 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.3479, allocations: 25.91 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.348, allocations: 31.7 kB / 0.5236 GB, free: 96 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3481, allocations: 75.7 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3481, allocations: 0 / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002202/0.3484, allocations: 121.2 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3484, allocations: 7.906 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3484, allocations: 1.531 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3484, allocations: 0 / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.3485, allocations: 17.66 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3485, allocations: 3.938 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.3486, allocations: 5.312 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3486, allocations: 2.25 kB / 0.5238 GB, free: 15.99 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 0.0001067/0.3487, allocations: 133 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.3487, allocations: 16.2 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.349, allocations: 126.5 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.349, allocations: 1.25 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3491, allocations: 5.031 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3491, allocations: 1.031 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.3496, allocations: 419.6 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3496, allocations: 2.641 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.3497, allocations: 20.05 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3497, allocations: 0 / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3497, allocations: 6.562 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3497, allocations: 2.031 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3497, allocations: 0.6562 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.35, allocations: 212.6 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.35, allocations: 88.83 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.35, allocations: 2.344 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.3501, allocations: 4.453 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.3502, allocations: 11.25 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3502, allocations: 5.594 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3503, allocations: 160 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3503, allocations: 0 / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3506, allocations: 23.55 kB / 0.525 GB, free: 15.04 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.000975/0.3516, allocations: 466.1 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.3518, allocations: 71.56 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3518, allocations: 0 / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.3519, allocations: 37.77 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3523, allocations: 22.62 kB / 0.5256 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.3527, allocations: 263 kB / 0.5258 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.353, allocations: 0.7077 MB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.3531, allocations: 18.11 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.3531, allocations: 13.55 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3531, allocations: 0 / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004348/0.3575, allocations: 1.366 MB / 0.5279 GB, free: 13.46 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches