Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.128/1.128, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.255e-05, allocations: 9.344 kB / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001833/0.001856, allocations: 1.619 MB / 349.3 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004376/0.002294, allocations: 327.3 kB / 349.6 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.002348, allocations: 4 kB / 349.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.002603, allocations: 95.67 kB / 349.7 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.002763, allocations: 75.72 kB / 349.8 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.002947, allocations: 87.75 kB / 349.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003076, allocations: 83.75 kB / 350 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.003163, allocations: 12.17 kB / 350 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.5e-05/0.003218, allocations: 51.88 kB / 350 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.003293, allocations: 55.86 kB / 350.1 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.003309, allocations: 4 kB / 350.1 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.003369, allocations: 31.94 kB / 350.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.003411, allocations: 23.92 kB / 350.1 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.003439, allocations: 19.92 kB / 350.2 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.003572, allocations: 83.67 kB / 350.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003573, allocations: 0 / 350.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003574, allocations: 3.938 kB / 350.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.696e-06/0.003578, allocations: 0 / 350.2 MB, free: 7.207 MB / 282.7 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.0003332/0.003911, allocations: 451.9 kB / 350.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003945, allocations: 8.031 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.003987, allocations: 16.84 kB / 350.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.004105, allocations: 148.4 kB / 350.8 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004115, allocations: 384 / 350.8 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.004135, allocations: 8.375 kB / 350.9 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.004248, allocations: 90.19 kB / 350.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.004258, allocations: 192 / 350.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004268, allocations: 7.938 kB / 351 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.004276, allocations: 0 / 351 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.004312, allocations: 15.98 kB / 351 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.004599, allocations: 446.5 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.00478, allocations: 85.98 kB / 351.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.004808, allocations: 27.55 kB / 351.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.004828, allocations: 8 kB / 351.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.004846, allocations: 33.39 kB / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.004847, allocations: 0 / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003882/0.005235, allocations: 177.4 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.005262, allocations: 81.11 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.005362, allocations: 242.9 kB / 352 MB, free: 5.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.53e-06/0.005368, allocations: 25.7 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.005405, allocations: 162.8 kB / 352.2 MB, free: 5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.005428, allocations: 31.7 kB / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.005458, allocations: 35.36 kB / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.005504, allocations: 0.5079 MB / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.005526, allocations: 11.94 kB / 352.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.005552, allocations: 31.36 kB / 352.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.005599, allocations: 55.48 kB / 352.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.0056, allocations: 0 / 352.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002426/0.005843, allocations: 89.53 kB / 353 MB, free: 4.199 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.005865, allocations: 4 kB / 353 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.005873, allocations: 0 / 353 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.005892, allocations: 4 kB / 353 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.005983, allocations: 19.98 kB / 353 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.005991, allocations: 4 kB / 353 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.006018, allocations: 4 kB / 353 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.006025, allocations: 0 / 353 MB, free: 4.164 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 5.884e-05/0.006083, allocations: 168.5 kB / 353.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.006115, allocations: 15.95 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.006265, allocations: 102.7 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.006268, allocations: 0 / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.006276, allocations: 0 / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.006281, allocations: 7.922 kB / 353.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.006626, allocations: 0.5121 MB / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006628, allocations: 0 / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.006687, allocations: 19.94 kB / 353.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.00669, allocations: 0 / 353.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.006699, allocations: 3.984 kB / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.0067, allocations: 4 kB / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006702, allocations: 0 / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.006829, allocations: 366.8 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.006841, allocations: 7.953 kB / 354.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.006856, allocations: 7.984 kB / 354.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/0.006911, allocations: 4 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.006951, allocations: 15.95 kB / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.006957, allocations: 0 / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.736e-05/0.007014, allocations: 179.2 kB / 354.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007014, allocations: 0 / 354.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.007211, allocations: 27.89 kB / 354.4 MB, free: 2.648 MB / 282.7 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 (10): * Single equations (assignments): 10 * 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.0007908/0.008001, allocations: 376.9 kB / 354.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.008126, allocations: 55.59 kB / 354.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008128, allocations: 0 / 354.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.008157, allocations: 35.61 kB / 354.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.008434, allocations: 25.17 kB / 354.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.008824, allocations: 266 kB / 355.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.008861, allocations: 67.34 kB / 355.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.008906, allocations: 24.83 kB / 355.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.008938, allocations: 16.5 kB / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.753e-06/0.00894, allocations: 0 / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of Templates: time 0.003071/0.01201, allocations: 1.325 MB / 356.6 MB, free: 0.5039 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.388221103930846]