Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.00107/0.00107, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001139/0.001139, allocations: 166 kB / 24.99 MB, free: 8.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.991/0.991, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.285/0.285, allocations: 34.26 MB / 296 MB, free: 0.793 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.9e-05/4.148e-05, allocations: 2.312 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003212/0.003254, allocations: 1.705 MB / 379.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.004386, allocations: 0.5764 MB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.00447, allocations: 0 / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.005024, allocations: 455.1 kB / 380.8 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.005589, allocations: 303.1 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.006029, allocations: 171.5 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.006289, allocations: 179.6 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.006401, allocations: 24.22 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.006527, allocations: 115.8 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.006754, allocations: 247.6 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.006773, allocations: 4 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.006878, allocations: 47.92 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.006961, allocations: 83.72 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.00701, allocations: 51.66 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.007272, allocations: 211.1 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.007278, allocations: 0 / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.00728, allocations: 0 / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.007285, allocations: 0 / 382.2 MB, free: 14.79 MB / 362.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.0006689/0.007954, allocations: 0.7086 MB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.008, allocations: 8.031 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.008081, allocations: 44.66 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.008322, allocations: 256.8 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.008336, allocations: 4.375 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.008357, allocations: 4.375 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.008503, allocations: 66.94 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.008517, allocations: 192 / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.008527, allocations: 8.125 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.008537, allocations: 0 / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.008579, allocations: 15.92 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.009034, allocations: 431.6 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/0.009103, allocations: 47.02 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.009128, allocations: 15.69 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.009146, allocations: 4 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.009171, allocations: 37.38 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.009172, allocations: 4 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006019/0.009774, allocations: 264.6 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.009808, allocations: 55.41 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.01025, allocations: 0.6316 MB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.01027, allocations: 25.7 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.01043, allocations: 282.8 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.01047, allocations: 31.73 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.01051, allocations: 23.38 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.01069, allocations: 0.5586 MB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.01071, allocations: 15.94 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.01074, allocations: 11.98 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.584e-05/0.01079, allocations: 31.69 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01079, allocations: 0 / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001245/0.01092, allocations: 105.4 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.01093, allocations: 8 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01094, allocations: 0 / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01095, allocations: 3.938 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/0.01103, allocations: 19.92 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01104, allocations: 0 / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.01106, allocations: 8 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.01107, allocations: 3.984 kB / 385.9 MB, free: 10.88 MB / 362.7 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.33e-05/0.01115, allocations: 164.5 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.01119, allocations: 47.67 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.01138, allocations: 117.5 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01139, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01139, allocations: 4 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01139, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.01183, allocations: 0.5164 MB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01183, allocations: 0 / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.01188, allocations: 12 kB / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01189, allocations: 0 / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.0119, allocations: 4 kB / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.0119, allocations: 0 / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.01191, allocations: 7.922 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.01209, allocations: 271.7 kB / 387 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.01212, allocations: 35.72 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.01214, allocations: 8 kB / 387 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.01219, allocations: 4.031 kB / 387.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.01222, allocations: 11.92 kB / 387.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01223, allocations: 4 kB / 387.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002929/0.01252, allocations: 430.8 kB / 387.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01252, allocations: 0 / 387.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.01272, allocations: 28 kB / 387.5 MB, free: 9.145 MB / 362.7 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.001077/0.0138, allocations: 429.4 kB / 387.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.01392, allocations: 47.55 kB / 388 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01392, allocations: 0 / 388 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.01396, allocations: 35.67 kB / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.01423, allocations: 28.2 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007397/0.01496, allocations: 0.6118 MB / 388.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.132e-05/0.01506, allocations: 123.2 kB / 388.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.01512, allocations: 21.02 kB / 388.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.01516, allocations: 24.48 kB / 388.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01516, allocations: 0 / 388.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of Templates: time 0.004706/0.01986, allocations: 1.652 MB / 390.5 MB, free: 6.301 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.215731014031917]