Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001364/0.001364, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002267/0.003631, 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.001533/0.001533, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001927/0.00346, 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.119/1.119, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1297/1.249, allocations: 53.64 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.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.3412/0.3412, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03513/0.3763, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.905e-05, allocations: 3.297 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002986/0.003015, allocations: 1.773 MB / 292.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.004616, allocations: 0.9987 MB / 293.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004717, allocations: 6 kB / 293.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.004951, allocations: 52 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.005256, allocations: 99 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.005504, allocations: 79.16 kB / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.005671, allocations: 99.64 kB / 293.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.005714, allocations: 8.234 kB / 293.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.005857, allocations: 75.81 kB / 293.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.005948, allocations: 27.91 kB / 293.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.005963, allocations: 4 kB / 293.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.006058, allocations: 27.94 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.006109, allocations: 31.8 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.006143, allocations: 15.94 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.006313, allocations: 103.6 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.006329, allocations: 0 / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.006332, allocations: 4 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.006345, allocations: 0 / 294.1 MB, free: 4.812 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004365/0.006781, allocations: 352.4 kB / 294.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.006811, allocations: 8.031 kB / 294.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.006856, allocations: 12.92 kB / 294.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.007029, allocations: 154.5 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.007043, allocations: 8.312 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.007051, allocations: 384 / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.007162, allocations: 57.77 kB / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.007169, allocations: 3.938 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.007176, allocations: 8 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.00718, allocations: 0 / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.007206, allocations: 7.984 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.007316, allocations: 66.7 kB / 294.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.729e-05/0.007414, allocations: 45.42 kB / 294.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.007437, allocations: 12.8 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.007452, allocations: 3.984 kB / 294.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.007575, allocations: 62.22 kB / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.007577, allocations: 0 / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001471/0.007724, allocations: 57.67 kB / 294.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.007786, allocations: 63.28 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.00794, allocations: 214.3 kB / 295.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.007956, allocations: 25.7 kB / 295.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.007992, allocations: 100.1 kB / 295.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.008034, allocations: 19.78 kB / 295.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.00808, allocations: 25.69 kB / 295.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.008194, allocations: 326.8 kB / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.008217, allocations: 6.828 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.008239, allocations: 21.7 kB / 295.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.272e-05/0.008282, allocations: 39.61 kB / 295.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.008285, allocations: 0 / 295.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.239e-05/0.008367, allocations: 60.45 kB / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.008381, allocations: 4 kB / 295.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008387, allocations: 0 / 295.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.008399, allocations: 7.984 kB / 295.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.008476, allocations: 11.94 kB / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.008482, allocations: 3.938 kB / 295.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.008516, allocations: 8 kB / 295.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.008521, allocations: 4.031 kB / 295.8 MB, free: 2.863 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: 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 (7): * Single equations (assignments): 7 * 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 7.535e-05/0.008596, allocations: 116.7 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.008609, allocations: 8 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.008737, allocations: 62.83 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.008741, allocations: 4 kB / 296 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.008744, allocations: 3.938 kB / 296 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.008751, allocations: 3.984 kB / 296 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.413e-05/0.008845, allocations: 89.84 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008847, allocations: 0 / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.008873, allocations: 7.938 kB / 296.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.008891, allocations: 19.89 kB / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008893, allocations: 0 / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.008899, allocations: 8 kB / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.0089, allocations: 0 / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.008903, allocations: 3.938 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.901e-05/0.008982, allocations: 82.77 kB / 296.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.008998, allocations: 0 / 296.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.669e-05/0.009025, allocations: 4.188 kB / 296.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.009053, allocations: 7.984 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.009064, allocations: 4 kB / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.009132, allocations: 87.67 kB / 296.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009132, allocations: 0 / 296.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.009265, allocations: 27.88 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001679/0.01094, allocations: 0.5437 MB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.01105, allocations: 32.84 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.01106, allocations: 4 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.01109, allocations: 20.78 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.01126, allocations: 54.19 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.01182, allocations: 224 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.01186, allocations: 71.33 kB / 297.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.663e-05/0.0119, allocations: 12.48 kB / 297.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.01196, allocations: 67.36 kB / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01196, allocations: 0 / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of Templates: time 0.004012/0.01598, allocations: 1.833 MB / 299.2 MB, free: 15.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.2533069029450417]