Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001232/0.001232, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001917/0.003148, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001198/0.001198, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002628, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1083/1.112, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2717/0.2717, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02271/0.2944, allocations: 13.09 MB / 291.3 MB, free: 7.363 MB / 282.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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 292.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.081e-05, allocations: 3.188 kB / 292.7 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002951/0.002972, allocations: 1.828 MB / 294.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.004656, allocations: 1.021 MB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.004743, allocations: 4 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.005011, allocations: 87.62 kB / 295.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.005323, allocations: 131.4 kB / 295.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.005565, allocations: 75.61 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.005776, allocations: 131.6 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.005865, allocations: 11.98 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.006041, allocations: 95.73 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.006163, allocations: 59.86 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.006183, allocations: 4 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.00631, allocations: 59.92 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.006366, allocations: 23.92 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.00641, allocations: 19.88 kB / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.006641, allocations: 115.5 kB / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.006659, allocations: 3.938 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.00666, allocations: 0 / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.006678, allocations: 0 / 296.4 MB, free: 2.523 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005493/0.007227, allocations: 368.8 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.00726, allocations: 8.031 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.007303, allocations: 16.92 kB / 296.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.007505, allocations: 154.3 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.007522, allocations: 384 / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.007544, allocations: 4.375 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.007676, allocations: 69.7 kB / 297 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.007687, allocations: 3.938 kB / 297 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.007696, allocations: 3.984 kB / 297 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.007702, allocations: 0 / 297 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.007738, allocations: 8 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.00801, allocations: 177.9 kB / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.008191, allocations: 97.28 kB / 297.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.008219, allocations: 16.8 kB / 297.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.00823, allocations: 0 / 297.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.008347, allocations: 66.22 kB / 297.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.008349, allocations: 0 / 297.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000548/0.008897, allocations: 182.1 kB / 297.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.008932, allocations: 55.41 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.009086, allocations: 197.6 kB / 297.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.009104, allocations: 29.7 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.009146, allocations: 96.11 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.009189, allocations: 39.67 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.009232, allocations: 29.69 kB / 298 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.009338, allocations: 326.8 kB / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.009367, allocations: 14.77 kB / 298.3 MB, free: 448 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.009407, allocations: 30.7 kB / 298.3 MB, free: 412 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.113e-05/0.009478, allocations: 53.53 kB / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00948, allocations: 0 / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/0.009603, allocations: 90.23 kB / 298.5 MB, free: 256 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.009618, allocations: 8 kB / 298.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009623, allocations: 0 / 298.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.009632, allocations: 0 / 298.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.009721, allocations: 27.97 kB / 298.5 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.009728, allocations: 3.938 kB / 298.5 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.009771, allocations: 7.984 kB / 298.5 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.009778, allocations: 0 / 298.5 MB, free: 208 kB / 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.123e-05/0.00986, allocations: 120.6 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.009882, allocations: 20.02 kB / 298.7 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.01005, allocations: 87.06 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01005, allocations: 4 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01005, allocations: 0 / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01006, allocations: 0 / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.0104, allocations: 332.1 kB / 299.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.0104, allocations: 4 kB / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.01046, allocations: 15.94 kB / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.01048, allocations: 23.89 kB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01048, allocations: 8 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01049, allocations: 0 / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.01049, allocations: 4 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.0105, allocations: 0 / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.01067, allocations: 231.9 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01069, allocations: 4 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.01076, allocations: 4 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.01079, allocations: 15.92 kB / 299.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.01081, allocations: 11.92 kB / 299.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.01089, allocations: 61.42 kB / 299.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01089, allocations: 0 / 299.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.01113, allocations: 31.94 kB / 299.5 MB, free: 15.17 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002243/0.01337, allocations: 0.7151 MB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.01347, allocations: 60.66 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.01348, allocations: 4 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.01351, allocations: 28.78 kB / 300.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.01369, allocations: 46.59 kB / 300.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.01412, allocations: 267.7 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.01422, allocations: 72.27 kB / 300.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.0143, allocations: 24.62 kB / 300.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.01438, allocations: 67.36 kB / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01438, allocations: 0 / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of Templates: time 0.00402/0.0184, allocations: 2.326 MB / 303.1 MB, free: 11.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.02674547675997]