Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.001025/0.001025, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002421, 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.0008262/0.0008262, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009498/0.001776, 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.9996/0.9996, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1851/1.185, 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.1325/0.1325, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02817/0.1607, allocations: 12.3 MB / 265.9 MB, free: 7.824 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.251e-05, allocations: 10.25 kB / 267.3 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001916/0.001929, allocations: 1.723 MB / 269 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003042, allocations: 0.7881 MB / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.003127, allocations: 0 / 269.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.003376, allocations: 99.56 kB / 269.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.003545, allocations: 71.67 kB / 270 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.003733, allocations: 83.69 kB / 270.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.003892, allocations: 99.7 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.003942, allocations: 7.922 kB / 270.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.004073, allocations: 83.77 kB / 270.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.004174, allocations: 47.88 kB / 270.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.004193, allocations: 0 / 270.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.004266, allocations: 35.98 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.004307, allocations: 15.94 kB / 270.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.00434, allocations: 15.94 kB / 270.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.004498, allocations: 95.59 kB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/0.004515, allocations: 0 / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004516, allocations: 0 / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.004532, allocations: 0 / 270.5 MB, free: 3.254 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.0004357/0.004968, allocations: 327.8 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.004996, allocations: 8.031 kB / 270.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.005026, allocations: 8.922 kB / 270.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.00519, allocations: 149.6 kB / 270.9 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.005204, allocations: 384 / 270.9 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.005214, allocations: 384 / 270.9 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.005328, allocations: 61.7 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.005336, allocations: 3.938 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.005343, allocations: 4 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005349, allocations: 4 kB / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.005372, allocations: 7.984 kB / 271 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.174e-05/0.005464, allocations: 62.7 kB / 271.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.005549, allocations: 49.42 kB / 271.1 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.005568, allocations: 12.84 kB / 271.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.005581, allocations: 0 / 271.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.005686, allocations: 62.16 kB / 271.2 MB, free: 2.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 5.81e-07/0.005686, allocations: 0 / 271.2 MB, free: 2.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001122/0.005799, allocations: 53.69 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.005835, allocations: 59.33 kB / 271.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.005938, allocations: 188.2 kB / 271.5 MB, free: 2.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.005951, allocations: 29.7 kB / 271.5 MB, free: 2.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.005979, allocations: 92.11 kB / 271.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.006007, allocations: 15.95 kB / 271.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.006036, allocations: 17.7 kB / 271.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.006118, allocations: 326.8 kB / 272 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.006132, allocations: 14.75 kB / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.168e-05/0.006154, allocations: 25.94 kB / 272 MB, free: 1.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.006193, allocations: 35.36 kB / 272 MB, free: 1.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006195, allocations: 3.938 kB / 272 MB, free: 1.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.005e-05/0.006265, allocations: 60.44 kB / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.006277, allocations: 8.031 kB / 272.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.006281, allocations: 0 / 272.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.00629, allocations: 4 kB / 272.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.006355, allocations: 15.94 kB / 272.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006359, allocations: 0 / 272.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.006387, allocations: 7.953 kB / 272.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006393, allocations: 3.984 kB / 272.1 MB, free: 1.383 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 6.588e-05/0.006459, allocations: 120.5 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.00647, allocations: 11.98 kB / 272.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.439e-05/0.006554, allocations: 62.83 kB / 272.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006556, allocations: 4 kB / 272.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.006558, allocations: 3.938 kB / 272.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.006562, allocations: 3.984 kB / 272.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.438e-05/0.006636, allocations: 81.86 kB / 272.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006638, allocations: 4 kB / 272.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.006654, allocations: 4 kB / 272.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.006666, allocations: 7.953 kB / 272.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006668, allocations: 0 / 272.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.006673, allocations: 0 / 272.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006675, allocations: 3.984 kB / 272.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.006677, allocations: 3.938 kB / 272.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.775e-05/0.006745, allocations: 94.84 kB / 272.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.006759, allocations: 3.984 kB / 272.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.006777, allocations: 4 kB / 272.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.006802, allocations: 4 kB / 272.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.006812, allocations: 3.984 kB / 272.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.006854, allocations: 59.59 kB / 272.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006854, allocations: 0 / 272.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.00703, allocations: 15.98 kB / 272.6 MB, free: 0.8398 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.001158/0.008188, allocations: 0.5622 MB / 273.2 MB, free: 272 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.008288, allocations: 28.78 kB / 273.2 MB, free: 240 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.008298, allocations: 4 kB / 273.2 MB, free: 236 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.008322, allocations: 16.86 kB / 273.2 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.008463, allocations: 35.92 kB / 273.3 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.008926, allocations: 213.2 kB / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.008965, allocations: 63.34 kB / 273.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.009, allocations: 20.53 kB / 273.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.009072, allocations: 63.36 kB / 273.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.009073, allocations: 0 / 273.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of Templates: time 0.003651/0.01272, allocations: 1.783 MB / 275.4 MB, free: 13.99 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.865402426570654]