Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001895/0.003036, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002493, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9337/0.9337, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1767/1.11, allocations: 52.48 MB / 238.5 MB, free: 7.641 MB / 234.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.1317/0.1317, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02206/0.1538, allocations: 12.53 MB / 284.5 MB, free: 9.727 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.425e-05, allocations: 2.312 kB / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002684/0.002708, allocations: 1.783 MB / 287.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.008705, allocations: 1.633 MB / 289.4 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.008773, allocations: 0 / 289.4 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.008988, allocations: 43.64 kB / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.009181, allocations: 67.62 kB / 289.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.00945, allocations: 107.5 kB / 289.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.00962, allocations: 103.6 kB / 289.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.009704, allocations: 4.234 kB / 289.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.00984, allocations: 79.77 kB / 289.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.01296, allocations: 31.91 kB / 289.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.01298, allocations: 4 kB / 289.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.01314, allocations: 59.84 kB / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.01319, allocations: 19.94 kB / 289.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.01322, allocations: 11.94 kB / 289.9 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.01341, allocations: 107.6 kB / 290 MB, free: 4.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.01343, allocations: 4 kB / 290 MB, free: 4.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01343, allocations: 0 / 290 MB, free: 4.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.01344, allocations: 3.938 kB / 290 MB, free: 4.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004477/0.01388, allocations: 315.9 kB / 290.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.01392, allocations: 12.03 kB / 290.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.01396, allocations: 4.938 kB / 290.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.01412, allocations: 141.6 kB / 290.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.01413, allocations: 384 / 290.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.01416, allocations: 12.36 kB / 290.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.01429, allocations: 105.1 kB / 290.6 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.0143, allocations: 3.938 kB / 290.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.01431, allocations: 4 kB / 290.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.01432, allocations: 0 / 290.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.01435, allocations: 22.8 kB / 290.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.01457, allocations: 161.9 kB / 290.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.412e-05/0.01466, allocations: 85.28 kB / 290.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.01468, allocations: 20.91 kB / 290.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.0147, allocations: 0 / 290.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.936e-05/0.01479, allocations: 70.09 kB / 290.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 5.23e-06/0.0148, allocations: 0 / 290.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003101/0.01511, allocations: 105.6 kB / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.01514, allocations: 51.41 kB / 291.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01525, allocations: 163.5 kB / 291.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.01526, allocations: 25.7 kB / 291.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.0153, allocations: 95.92 kB / 291.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.01533, allocations: 23.84 kB / 291.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.01537, allocations: 29.7 kB / 291.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.01545, allocations: 322.8 kB / 291.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.01547, allocations: 14.83 kB / 291.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.01551, allocations: 52.27 kB / 291.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.01556, allocations: 44.45 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01556, allocations: 3.938 kB / 291.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.758e-05/0.01566, allocations: 80.44 kB / 291.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.01567, allocations: 4 kB / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01568, allocations: 0 / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.01569, allocations: 4 kB / 291.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/0.01878, allocations: 15.98 kB / 291.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.01878, allocations: 4.062 kB / 292 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.01882, allocations: 4 kB / 292 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.01882, allocations: 0 / 292 MB, free: 2.086 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 (10): * Single equations (assignments): 10 * 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 6.732e-05/0.01889, allocations: 120.7 kB / 292.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.01891, allocations: 15.88 kB / 292.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.01903, allocations: 78.42 kB / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01903, allocations: 0 / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01903, allocations: 0 / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01903, allocations: 0 / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.01928, allocations: 295.8 kB / 292.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01928, allocations: 0 / 292.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.01932, allocations: 19.92 kB / 292.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.01933, allocations: 15.84 kB / 292.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.01933, allocations: 0 / 292.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.01934, allocations: 4 kB / 292.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01934, allocations: 0 / 292.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01935, allocations: 0 / 292.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.01946, allocations: 215 kB / 292.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.01948, allocations: 7.984 kB / 292.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.01954, allocations: 0 / 292.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.01956, allocations: 12.02 kB / 292.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.01958, allocations: 8 kB / 292.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.01962, allocations: 31.66 kB / 292.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01962, allocations: 0 / 292.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.01985, allocations: 35.92 kB / 292.8 MB, free: 1.176 MB / 282.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: 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 (9): * Single equations (assignments): 7 * 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.00176/0.02161, allocations: 0.6918 MB / 293.5 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.02473, allocations: 44.78 kB / 293.5 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.02474, allocations: 8.094 kB / 293.5 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.02478, allocations: 36.77 kB / 293.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.02505, allocations: 177.6 kB / 293.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.02553, allocations: 206.9 kB / 293.9 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.069e-05/0.02557, allocations: 67.33 kB / 294 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.02562, allocations: 20.94 kB / 294 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.02571, allocations: 79.44 kB / 294.1 MB, free: 120 kB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02571, allocations: 0 / 294.1 MB, free: 120 kB / 282.7 MB Notification: Performance of Templates: time 0.007369/0.03308, allocations: 2.317 MB / 296.4 MB, free: 13.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.934274029918015]