Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00105/0.00105, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002654, allocations: 447.8 kB / 10.35 MB, free: 348 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.001672/0.001672, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.003471, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9822/0.9822, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1818/1.164, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1435/0.1435, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02251/0.166, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 267.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.491e-05, allocations: 10.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002699/0.002724, allocations: 1.735 MB / 269 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.006952, allocations: 0.792 MB / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.007029, allocations: 0 / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.007286, allocations: 55.69 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.00748, allocations: 59.69 kB / 269.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.007719, allocations: 83.7 kB / 270 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.007889, allocations: 87.7 kB / 270.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.007934, allocations: 7.938 kB / 270.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.008074, allocations: 79.77 kB / 270.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.008155, allocations: 23.91 kB / 270.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.008176, allocations: 4 kB / 270.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.008255, allocations: 31.94 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.008306, allocations: 23.92 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.008346, allocations: 19.88 kB / 270.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.008565, allocations: 95.66 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.85e-05/0.008584, allocations: 0 / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008585, allocations: 0 / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.008602, allocations: 0 / 270.4 MB, free: 3.336 MB / 266.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.0004865/0.009089, allocations: 351.7 kB / 270.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.009124, allocations: 8.031 kB / 270.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.01218, allocations: 8.922 kB / 270.7 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.01238, allocations: 157.5 kB / 270.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.0124, allocations: 4.375 kB / 270.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.01241, allocations: 384 / 270.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.01252, allocations: 57.77 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.01253, allocations: 3.938 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.01254, allocations: 0 / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.01254, allocations: 0 / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.01257, allocations: 11.94 kB / 271 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.01267, allocations: 70.69 kB / 271 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.01276, allocations: 45.42 kB / 271.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.01278, allocations: 12.86 kB / 271.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.01279, allocations: 3.984 kB / 271.1 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.0129, allocations: 62.17 kB / 271.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.0129, allocations: 0 / 271.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001855/0.01309, allocations: 61.61 kB / 271.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.01312, allocations: 59.34 kB / 271.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.01326, allocations: 207.8 kB / 271.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01328, allocations: 25.7 kB / 271.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.01331, allocations: 100.1 kB / 271.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.01334, allocations: 15.88 kB / 271.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.01338, allocations: 21.7 kB / 271.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.01347, allocations: 330.8 kB / 272 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.01349, allocations: 10.83 kB / 272 MB, free: 1.578 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.01352, allocations: 21.94 kB / 272 MB, free: 1.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.01356, allocations: 43.3 kB / 272 MB, free: 1.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01357, allocations: 0 / 272 MB, free: 1.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.72e-05/0.01365, allocations: 64.44 kB / 272.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01367, allocations: 4 kB / 272.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01367, allocations: 4.031 kB / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.01368, allocations: 0 / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.01376, allocations: 15.94 kB / 272.1 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.01377, allocations: 0 / 272.1 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.0138, allocations: 7.953 kB / 272.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.01381, allocations: 7.984 kB / 272.1 MB, free: 1.391 MB / 266.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.414e-05/0.01389, allocations: 116.7 kB / 272.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.0139, allocations: 11.92 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.01401, allocations: 66.78 kB / 272.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01402, allocations: 3.984 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01402, allocations: 7.938 kB / 272.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01403, allocations: 0 / 272.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.041e-05/0.01412, allocations: 85.86 kB / 272.4 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01412, allocations: 0 / 272.4 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.01415, allocations: 8 kB / 272.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.01417, allocations: 15.89 kB / 272.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01417, allocations: 0 / 272.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.01417, allocations: 0 / 272.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01417, allocations: 0 / 272.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01418, allocations: 3.938 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.932e-05/0.01427, allocations: 94.83 kB / 272.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.01428, allocations: 4 kB / 272.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.01432, allocations: 4 kB / 272.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.01434, allocations: 3.984 kB / 272.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.01435, allocations: 8 kB / 272.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.01442, allocations: 68.83 kB / 272.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01442, allocations: 0 / 272.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.0146, allocations: 23.92 kB / 272.7 MB, free: 0.8203 MB / 266.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.004647/0.01925, allocations: 0.5506 MB / 273.2 MB, free: 264 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.937e-05/0.01935, allocations: 32.78 kB / 273.2 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.01935, allocations: 4 kB / 273.2 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.01938, allocations: 16.84 kB / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.01954, allocations: 35.97 kB / 273.3 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.02005, allocations: 221.8 kB / 273.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.0201, allocations: 71.33 kB / 273.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.037e-05/0.02014, allocations: 16.47 kB / 273.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.02021, allocations: 67.38 kB / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02021, allocations: 0 / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Templates: time 0.01018/0.03039, allocations: 1.803 MB / 275.5 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9175127102062106]