Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001386/0.001386, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001626/0.001626, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4047/0.4047, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.197e-05, allocations: 2.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003153/0.003185, allocations: 1.621 MB / 376.9 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004321, allocations: 0.5298 MB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.004372, allocations: 0 / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.004667, allocations: 71.7 kB / 377.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.004994, allocations: 111.5 kB / 377.6 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.00527, allocations: 87.7 kB / 377.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.005466, allocations: 87.69 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.005565, allocations: 15.98 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.00565, allocations: 39.89 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.005781, allocations: 59.88 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.005799, allocations: 4 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.005901, allocations: 43.92 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.005959, allocations: 23.91 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.006, allocations: 15.92 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.00623, allocations: 107.5 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.006234, allocations: 4 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006235, allocations: 0 / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.00624, allocations: 0 / 378.1 MB, free: 2.145 MB / 346.7 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.0005644/0.006804, allocations: 337.6 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.006839, allocations: 12.03 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.0069, allocations: 16.84 kB / 378.4 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.007113, allocations: 142.3 kB / 378.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.007125, allocations: 4.375 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.007152, allocations: 8.359 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.007317, allocations: 50.19 kB / 378.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007327, allocations: 4.188 kB / 378.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.007339, allocations: 4.125 kB / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.007344, allocations: 0 / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.007452, allocations: 31.97 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.007839, allocations: 232.5 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.007966, allocations: 46.5 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.008028, allocations: 20.78 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.00805, allocations: 3.938 kB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.008088, allocations: 42.64 kB / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.008089, allocations: 0 / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009678/0.009057, allocations: 229.3 kB / 379.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.009104, allocations: 51.41 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.009369, allocations: 214.7 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.00939, allocations: 29.7 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.009471, allocations: 108.1 kB / 379.6 MB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.009511, allocations: 31.73 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.009554, allocations: 17.72 kB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.009739, allocations: 326.8 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.009823, allocations: 27.98 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.009897, allocations: 23.98 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.01006, allocations: 65.05 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01006, allocations: 0 / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002477/0.01031, allocations: 109.5 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01032, allocations: 8 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01033, allocations: 4 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01034, allocations: 0 / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01045, allocations: 19.92 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01046, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.0105, allocations: 0 / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.01051, allocations: 4 kB / 380.3 MB, free: 15.78 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 0.0001268/0.01063, allocations: 133.8 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.01067, allocations: 11.91 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.01098, allocations: 123.1 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01098, allocations: 3.938 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01099, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.01099, allocations: 4 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.01158, allocations: 346.9 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01158, allocations: 0 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.01166, allocations: 19.92 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01166, allocations: 4 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01167, allocations: 4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01167, allocations: 4.031 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.01168, allocations: 7.984 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.01201, allocations: 204.2 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.01203, allocations: 11.94 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01204, allocations: 0 / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.01212, allocations: 4 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.01216, allocations: 15.92 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.01217, allocations: 4 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.01234, allocations: 160.2 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01234, allocations: 4 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.01261, allocations: 16 kB / 381.3 MB, free: 14.65 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.00229/0.0149, allocations: 496.3 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.01513, allocations: 63.84 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.01513, allocations: 4 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.01523, allocations: 31.98 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.01562, allocations: 23.86 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.01622, allocations: 261.5 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.01635, allocations: 96.88 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.01639, allocations: 12.72 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.01644, allocations: 16.5 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01644, allocations: 0 / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of Templates: time 0.004752/0.02119, allocations: 1.376 MB / 383.7 MB, free: 12.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.884969883016311]