Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.000848/0.000848, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002014, 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.000668/0.000668, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001689, 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.9143/0.9143, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1681/1.082, allocations: 52.5 MB / 238.5 MB, free: 7.621 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.1354/0.1354, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02344/0.1588, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 285.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.714e-05, allocations: 2.312 kB / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002447/0.002465, allocations: 1.86 MB / 287.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.004548, allocations: 1.722 MB / 289.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.004624, allocations: 0 / 289.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.004825, allocations: 55.56 kB / 289.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.005038, allocations: 87.5 kB / 289.7 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.00536, allocations: 183.3 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.005592, allocations: 187.3 kB / 290 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.005636, allocations: 10.45 kB / 290 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.005828, allocations: 136.4 kB / 290.2 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.005971, allocations: 59.81 kB / 290.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.005996, allocations: 8 kB / 290.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.00614, allocations: 63.84 kB / 290.3 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.006196, allocations: 31.86 kB / 290.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.006237, allocations: 23.94 kB / 290.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.006474, allocations: 139.4 kB / 290.5 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.006486, allocations: 7.984 kB / 290.5 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006486, allocations: 0 / 290.5 MB, free: 3.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.006496, allocations: 0 / 290.5 MB, free: 3.766 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.0005162/0.007012, allocations: 391.5 kB / 290.9 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.007047, allocations: 12.03 kB / 290.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.00709, allocations: 12.92 kB / 290.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.007294, allocations: 177.2 kB / 291.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.007309, allocations: 384 / 291.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.007329, allocations: 8.359 kB / 291.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.007501, allocations: 160.6 kB / 291.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.007511, allocations: 3.938 kB / 291.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.00752, allocations: 0 / 291.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.007526, allocations: 0 / 291.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.007568, allocations: 33.58 kB / 291.3 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.007678, allocations: 82.33 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.007798, allocations: 74.86 kB / 291.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.007835, allocations: 33.64 kB / 291.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.007845, allocations: 0 / 291.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.007973, allocations: 95.89 kB / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.007974, allocations: 0 / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001637/0.008138, allocations: 91.25 kB / 291.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.008174, allocations: 85.05 kB / 291.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.008334, allocations: 206.1 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.008352, allocations: 29.7 kB / 291.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.00839, allocations: 100.1 kB / 292 MB, free: 1.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.008428, allocations: 31.72 kB / 292.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.00847, allocations: 29.72 kB / 292.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.008562, allocations: 334.8 kB / 292.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.008586, allocations: 14.83 kB / 292.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.008648, allocations: 104.2 kB / 292.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.008722, allocations: 71.81 kB / 292.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008723, allocations: 4 kB / 292.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001136/0.008837, allocations: 91.88 kB / 292.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.008849, allocations: 8.094 kB / 292.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.008854, allocations: 7.938 kB / 292.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.008866, allocations: 0 / 292.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.008956, allocations: 31.86 kB / 292.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.00896, allocations: 0 / 292.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.009012, allocations: 12 kB / 292.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.009019, allocations: 0 / 292.8 MB, free: 1.203 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.308e-05/0.009102, allocations: 129.1 kB / 292.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.009125, allocations: 15.92 kB / 292.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.009259, allocations: 94.8 kB / 293 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.009263, allocations: 4 kB / 293 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.009266, allocations: 3.938 kB / 293 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.00927, allocations: 0 / 293 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.009379, allocations: 97.8 kB / 293.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.009382, allocations: 7.984 kB / 293.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.009418, allocations: 15.92 kB / 293.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.009438, allocations: 19.89 kB / 293.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.00944, allocations: 0 / 293.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.009447, allocations: 0 / 293.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.00945, allocations: 4 kB / 293.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.009454, allocations: 11.92 kB / 293.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.009565, allocations: 114.4 kB / 293.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.009588, allocations: 8 kB / 293.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.009626, allocations: 4 kB / 293.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.009658, allocations: 15.86 kB / 293.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.009676, allocations: 20.05 kB / 293.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.697e-05/0.009743, allocations: 64.88 kB / 293.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009743, allocations: 0 / 293.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.009944, allocations: 43.92 kB / 293.4 MB, free: 488 kB / 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00166/0.0116, allocations: 0.6041 MB / 294 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01173, allocations: 60.7 kB / 294.1 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.01174, allocations: 4 kB / 294.1 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-05/0.01179, allocations: 41.02 kB / 294.1 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.01211, allocations: 342.5 kB / 294.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.01263, allocations: 259.6 kB / 294.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.01267, allocations: 71.98 kB / 294.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.01274, allocations: 34.2 kB / 294.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.01287, allocations: 111.1 kB / 294.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01287, allocations: 0 / 294.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of Templates: time 0.005548/0.01841, allocations: 3.232 MB / 298.2 MB, free: 11.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.813043656758964]